Updates
Latest additions to documentation and platform release notes.
The 27 platform releases – June 2026
Read about the latest updates to the 27 platform releases. This page highlights changes to framework and tools documentation, as well as release notes for Xcode, macOS, iOS, iPadOS, visionOS, watchOS, and Safari.
Xcode 27
Agentic Coding intelligence features in Xcode get even more powerful with support for skills that help you modernize and add new features to your app. For instance, skills can help you ensure your iOS apps respond perfectly as people resize your app using iPhone Mirroring on macOS.
[Image]
Xcode works closely with your AI agents of choice. Read Giving external agents access to Xcode to discover how to connect your AI agents to your Xcode project and workspace. Learn about Extending and customizing agents to understand how Xcode 27 uses skills to supercharge your coding with agents.
Learn about Writing code with intelligence in Xcode and Using coding intelligence in the source editor to explore new ideas, migrate to new API, and speed your development workflow.
Read Running your app on simulated or physical devices to learn how to setup your devices in the new Device Hub. Manage all your physical and simulated devices in one place.
Reach more people all over the world by having Xcode help you with Localizing your app using agents. This improved localizing workflow is integrated directly into Xcode, bringing your apps to a wider market much faster and easier.
Performance and analysis
Learn how to use the tools and frameworks Xcode provides by reading Improving your app’s performance. Tools like Instruments and MetricKit can give you the insights you need to make your app perform at its best.
The new StateReporting framework works with MetricKit and helps you record a specific state for a feature within your app using the StateReporter class.
Learn to use Instruments when Analyzing CPU profiles with call tree views to improve app performance, while using OSSignposter to annotate your code.
Apple Intelligence and Machine Learning
The 27 platform releases include powerful new developer features that supercharge apps with AI capabilities. App Intents can connect your app with Siri, Spotlight, and Shortcuts. Foundation Models gives you a standard interface to perform powerful AI tasks across Apple-provided and third-party models. Core AI lets you connect your own models into the Apple tools as first-class providers. And the Evaluations framework provides a standard interface to evaluate your app’s intelligence-powered features.
Siri, Intents, and Spotlight
The 27 platform releases can integrate your app with Apple Intelligence in many new workflows. Leverage App Intents to make core features of your app available to Siri, Spotlight, and Shortcuts across Apple platforms. Widgets and Live Activities also use intents to interact with your core app.
Read the new Getting started with the App Intents framework guide to acclimate yourself to app intents. And the new Creating your first app intent article gets you familiar with using intents in your own code.
Learn how to connect your app into Apple Intelligence and Siri AI, and explore the code in a sample messaging app in Integrating your messaging app with Apple Intelligence.
Read Testing your App Intents code to discover how the new App Intents Testing framework makes it easier than ever to test your intents to ensure they behave correctly across different user experiences.
Messaging apps can use the new Suggested Actions framework to privately and securely present actions next to messages. The system can intelligently discover useful information in message text and offer to add an event to the calendar, or add a task to Reminders, or open a location in Maps.
Use the new Media Intents framework to enable your media player app to handle Siri requests. Siri turns whatever phrase someone says into an AudioSearch type that is sent to your app for handling. The Responding to audio search and playback requests article shows how to add this capability into your own apps.
Use App entities types to give additional information about your app to Siri and Apple Intelligence. Read Making app entities available in Spotlight to see how to make that information available to Spotlight, as well.
Follow the sample code to learn about Adopting App Intents to support system experiences and ensure Apple Intelligence can interact with your app across Shortcuts, Spotlight, and Siri.
Experiment with the Travel Tracking sample project included in the article Adopting App Intents to support system experiences to see lots of examples of using intents within an app or widget.
Read Adding your app’s content to Spotlight indexes to see how to use Core Spotlight to give people access to activities and items within your app directly from the Spotlight interface.
Learn to use the Visual Intelligence framework on iOS, iPadOS, and now macOS by reading Integrating your app with visual intelligence. This enables your app to analyze image data from the camera to identify places and objects.
Foundation Models
The 27 platform releases add powerful new API to the Foundation Models framework. Developers can now use a single, standard interface to connect to all their models – from Apple’s on-device models to the powerful Private Cloud Compute hosted models. Frontier model providers can use the new LanguageModel protocol to vend a Swift package to bridge their powerful cloud-hosted models to the Foundation Models API. And with Core AI, Foundation Models API can access your own models, too.
Read Generating content and performing tasks with Foundation Models to get started building with Foundation Models, and create your first Prompt.
When your app can benefit from a larger, cloud-based model you can learn about Adding server-side intelligence with Private Cloud Compute. With Private Cloud Compute (PCC) you get a larger token context size, and stronger reasoning for handling more complex tasks. The PrivateCloudComputeLanguageModel class conforms to LanguageModel just as other frontier models do.
Foundation Models now supports image input as well as text, which you can learn to use by reading Analyzing images with multimodal prompting. The models can help you classify the image, summarize the content, generate accessibility descriptions on the fly, and more. Use an Attachment to send the image to the model along with your prompt.
Read Analyzing the runtime performance of your Foundation Models app to learn about optimization techniques that make the AI components of your app perform their best.
Learn how to measure and improve your prompts by reading Evaluating prompts to measure performance and improve model responses and develop a strategy about Managing the context window to optimize token use.
[Image]
Explore the Origami sample that demonstrates Foundation Models with Private Cloud Compute or third-party models, shown in the Platform State of the Union by reading Origami: Crafting a dynamic tutorial for Apple Intelligence.
Core AI
The Core AI framework includes a set of tools that help you build, run, and deploy your own AI models within your app. Core AI also vends your custom AI models in a format that Foundation Models can use natively, so once adapted to Core AI, your models can interact with the same Foundation Models code you write when working with Apple’s own built-in models.
Designed for Apple silicon performance, Integrating on-device AI models in your app with Core AI details how to easily import third-party or your own models into your app, and achieve great performance.
Read Managing model specialization and caching to see how best to specialize your AI model, either in advance by Compiling Core AI models ahead of time, or cached on first use within the app.
Evaluations
The new Evaluations framework makes it easy to write intuitive Swift code to evaluate the behavior of your model, and validate your app’s behavior due to model results.
Read Evaluating language model responses to learn how you can build a strategy to evaluate your use of models within your app. Writing evaluations and creating comprehensive coverage is outlined in the article Designing effective evaluations.
Good evaluations require time spent Designing datasets to test your feature as well as Designing specific, measurable criteria in an evaluation suite. Reading Generating synthetic datasets can help you build synthetic data to quickly get even more coverage.
SwiftUI
Learn to use reorderable containers in your SwiftUI apps by reading Reordering items in lists, stacks, grids, and custom layouts. See how clean the code can look:
LazyVStack {
ForEach(cranes) { crane in
CraneRow(crane)
}
.reorderable()
}
.reorderContainer(
for: Crane.self
) { difference in
difference.apply(to: &cranes)
}Take advantage of the recent improvements in the 27 platform releases when using ContentBuilder and ViewBuilder.
The State() property wrapper has been upgraded in Xcode 27 to be a macro, making it easier to use while getting great performance.
The new document infrastructure is implemented within DocumentGroup and utilizing more powerful URL types. And explore the new WritableDocument and ReadableDocument protocols.
The AsyncImage type is much faster with improved caching.
Check out the new Composing advanced graphics effects with SwiftUI sample project.
UIKit
Use UICollectionViewCompositionalLayoutSectionProvider closures as part of automatic observation tracking to automatically invalidate and update compositional layouts when observable objects change.
Adopt the UIKit scene-based life cycle using the guidance in Transitioning to the UIKit scene-based life cycle. Starting in iOS 27, apps built with the latest SDK must use the scene-based life cycle or they fail to launch.
Learn more about advanced TextKit formatting by reading Adding tables to attributed strings in UIKit. And take total control of view and layout of text to create your own custom experience by reading Managing viewport layout and attachment reuse in text views.
AppKit
Create events similar to UIControl events on NSControl with the new NSControl.Events type.
Update views automatically in response to Observable model changes using the guidance in Updating views automatically with observation tracking.
macOS 27 improves the touch experience when your Mac app is running on an iPad as a Sidecar display. Read TN3212: Adopting gesture recognizers for Sidecar touch support for best practices to ensure your app behaves as expected on a Sidecar display.
SwiftData
Read the latest article update to help you migrate your Core Data app to use SwiftData with Adopting SwiftData for a Core Data app.
Learn how to use sections with ResultsSectionCollection and a SwiftData Query.
Privacy and Security
Developers of sensitive and secure apps can use the TrustInsights framework to request an evaluation from the system to help detect if someone is at risk of a social engineering threat. This information can be used in combination with other factors to enable a developer to help keep their users more protected.
Graphics and Media
Use the Spatial Preview framework to work with 3D spatial content from a macOS app within a connected visionOS device in real time.
Track generic spatial accessories (purpose-built devices like medical instruments or industrial tooling) and augment them with virtual content in visionOS. Read Preparing spatial accessories for tracking in your visionOS app to create a reference file for your accessory. Read Working with generic spatial accessories to bundle that accessory file and track the device with ARKit.
The new MusicUnderstanding framework gives you the power to analyze and fully understand the technical details of audio content with details such as rhythm, pace, loudness, key, and instrument activity.
Use the new Now Playing framework to let the system control playback of your media in the standard playback interface across the Lock Screen, in Control Center, on Apple Watch, and in CarPlay. Read Publishing media sessions to see how you can take advantage of this framework in your own media app.
Hardware vendors can use the new Media Device framework to create an extension that enables any app to stream to their device using built-in system affordances. Read Creating a media device extension to see how you can create an extension to stream to your unique hardware.
The AVSystemRouting framework adds new API to easily send media to all sorts of devices that implement a media device extension. Read Routing media to third-party devices to see how to route media from your own apps.
Health
Access workout zone data for heart rate and cycling power, and learn about the HKWorkoutZoneGroup structure by reading Accessing workout zone data.
Read the new article Recording and querying menopausal state to help personalize the experience within your health-related app.
Apple Pay, Passes, and Commerce
Read the article Adding support for Tap to Share to your app to see how to use the ProximityReader framework to use nearby iPhones to conduct in-person transactions.
See the new customization features in Creating an airline boarding pass using semantic tags to make your app’s passes even more useful in the moment. Creating a pass with Pass Designer explains how the Pass Designer tool can help you visualize and design your passes. Defining the metadata of your Wallet Pass explains how to include additional information with your pass.
Platform services
With iOS 27, people can easily switch from one iPhone to another. Read about iPhone quick switch and how to follow best practices using the Core Telephony framework to ensure your app gracefully handles this switch.
Use the CrashReportExtension framework to perform on-device analysis and produce a report when your app crashes. This crash-handling code will then run out of process, managed by the system. Implement the CrashReporterExtension to create your own custom crash report.
The new DiskImageKit framework provides a programmatic API for developers to create, open, and manage disk images. It is especially useful within the Virtualization framework as storage for virtual machine archives.
Use the new compression algorithms,
LZRavenandLZMeshfor more efficient and faster results. Read about the compression_algorithm type to understand the recommended defaults when sharing files among Apple devices. The Compression and Apple Archive frameworks take advantage of these new algorithms.The MetricKit framework is significantly upgraded for the 27 platform releases. Read how to Track performance by app state using MetricKit to get the data you need to understand how your app performs in the real world.
Learn powerful PencilKit features you can add to your app with the Building a handwriting recognition experience with PencilKit sample code project and article. The Controlling stroke rendering for animation and editing article dives deep into handling pencil strokes as well.
The DeviceCheck framework brings App Attest to macOS with additional device information to protect your app from unauthorized modification and fraud.
Apps using EnergyKit can learn about Providing charging history for electric vehicles to the Home app, including activity logs and useful insights.
Topics
Release notes
iOS & iPadOS Release NotesmacOS Release NotestvOS Release NoteswatchOS Release NotesvisionOS Release NotesXcode Release NotesSafari Release Notes
Technology and frameworks
Accelerate updatesAccessibility updatesActivityKit updatesAdAttributionKit UpdatesApp Clips updatesApp Intents updatesAppKit updatesApple Intelligence updatesAppleMapsServerAPI UpdatesApple Pencil updatesARKit updatesAudio Toolbox updatesAuthenticationServices updatesAVFAudio updatesAVFoundation updatesBackground Tasks updatesBundle Resources updatesCallKit updatesContactsUI updatesCore Location updatesCore MIDI updatesCore ML updatesCore Motion updatesCore Spotlight updatesDataDetection updatesDefault apps updatesDockKit updatesEnergyKit updatesFile Provider updatesFinanceKit updatesFoundation updatesFoundation Models updatesFSKit updatesGame Controller updatesGameKit updatesGroup Activities updatesHealthKit updatesHypervisor updatesJournaling Suggestions updatesLightweightCodeRequirements updatesLiveCommunicationKit updatesMapKit updatesMapKitJS updatesMatter updatesMetricKit updatesNetwork updatesNetwork Extension updatesPaperKit updatesPassKit updatesPencilKit updatesPHASE updatesPhotoKit updatesProximityReader updatesRealityKit updatesSafariServices updatesScreenCaptureKit updatesSecurity updatesSensitive Content Analysis updatesSensorKit updatesShazamKit updatesSiriKit updatesStoreKit updatesSwift updatesSwift Charts updatesSwiftData updatesSwiftUI updatesSymbols updatesTipKit updatesThreadNetwork updatesUIKit updatesUser Notifications updatesVideo Subscriber Account updatesVirtualization updatesVision updatesVisual Intelligence updateswatchOS updatesWeatherKit updatesWidgetKit updatesWorkoutKit updatesXcode updatesXCUIAutomation updatesXPC updates