Does Xcode 26's external AI model can used for code completion , or just chat?
Asked on 06/12/2025
1 search
Xcode 26's external AI models can be used for both code completion and chat. The integration of models like ChatGPT into Xcode allows for coding assistance, where you can ask questions about Swift or your specific project, and the model can provide suggestions or make changes on your behalf. This functionality extends beyond just chat, as it also enhances code completion by using large language models to provide intelligent suggestions based on your project and coding style. You can use models from different providers, and they can run locally on your Mac or on a private network, giving you flexibility and control over the models you choose to use.
For more details, you can refer to the session Platforms State of the Union (29:10) and What’s new in Xcode (10:37).

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

Discover machine learning & AI frameworks on Apple platforms
Tour the latest updates to machine learning and AI frameworks available on Apple platforms. Whether you are an app developer ready to tap into Apple Intelligence, an ML engineer optimizing models for on-device deployment, or an AI enthusiast exploring the frontier of what is possible, we’ll offer guidance to help select the right tools for your needs.

What’s new in Xcode
Discover the latest productivity and performance advancements in Xcode 26. Learn how to leverage large language models in your development workflow. Explore editing and debugging enhancements, improved performance and testing tools, and Swift Build - the open-source build system engine used by Xcode.