what do you need to enable code intelligence in xcode26

Asked on 06/11/2025

@wwdc25

1 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:

  1. 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.

  2. 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.

  3. Coding Assistant: This tool allows you to switch between different models configured in Xcode's preferences, providing flexibility in how you use code intelligence.

  4. 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).