what do you need to enable code intelligence in xcode26
Asked on 06/11/2025
•@wwdc251 search
To enable code intelligence in Xcode 26, you need to configure and utilize the new features introduced in this version. Xcode 26 includes several enhancements to code intelligence, such as:
-
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 has been improved for better accuracy and context optimization.
-
Integration with Large Language Models: Xcode 26 can now use models like ChatGPT to provide coding assistance. You can ask questions about Swift or your specific project, and the model can make changes on your behalf.
-
Coding Assistant: This tool allows you to switch between different models configured in Xcode's preferences, providing flexibility in how you use code intelligence.
-
Local Models: You can use local models running on your Mac or a private network, thanks to tools like Ollama and LM Studio.
For more details on these features, you can refer to the session What’s new in Xcode (10:37).

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

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.

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.