How does the new Xcode AI work?
Asked on 06/10/2025
1 search
The new Xcode AI, as presented at WWDC, introduces several advanced features to enhance the development experience. Xcode now includes a predictive code completion engine powered by a unique model specifically trained for Swift and Apple SDKs. This engine uses your project symbols to customize suggestions and runs locally on your Mac, ensuring privacy and fast results even when offline.
Additionally, Xcode 26 integrates with models from different providers, including OpenAI's ChatGPT, allowing developers to use these models directly within Xcode. This integration provides flexibility and control, enabling developers to choose the model that best suits their needs. The AI capabilities in Xcode are designed to transform app creation by providing intelligent suggestions and automating code updates, making the development process more efficient and creative.
For more details, you can refer to the Platforms State of the Union (21:10) session.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

Explore machine learning on Apple platforms
Get started with an overview of machine learning frameworks on Apple platforms. Whether you’re implementing your first ML model, or an ML expert, we’ll offer guidance to help you select the right framework for your app’s needs.