what do I need to use code intelligence
Asked on 06/12/2025
1 search
To use code intelligence in Xcode, you can leverage several new features introduced in recent updates. Xcode now integrates large language models, such as ChatGPT, to provide coding assistance. This allows you to ask questions about Swift or your specific project, and even make changes to your code with the help of the model. You can configure multiple models, including those running locally on your Mac or on a private network, and switch between them as needed.
Xcode's intelligence features include:
-
Predictive Code Completion: This feature uses a local model running on Apple Silicon to provide intelligent suggestions based on your project and coding style. It helps you write code faster by predicting the code you need.
-
Generative Intelligence: Beyond code completion, generative intelligence allows you to interact with code using natural language. This includes integrating models like ChatGPT directly into Xcode, enabling you to use natural language to generate code, fix issues, or explore new ideas.
-
Coding Tools: These tools provide quick actions like generating a playground or fixing an issue. You can also enter custom queries to perform specific tasks.
For more details on these features, you can refer to the session What’s new in Xcode (10:37) and Platforms State of the Union (29:10).

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.

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

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