Can llm in xcode work locally offline?
Asked on 06/12/2025
1 search
Yes, large language models (LLMs) in Xcode can work locally offline. According to the session "What’s new in Xcode" from WWDC 2025, you can use local models running on your Mac or a private network. This is facilitated by tools like Ollama and LM Studio, allowing you to add multiple providers in Xcode's preferences and switch between them as needed. This setup ensures that you can work with LLMs without requiring an internet connection, maintaining privacy and control over your data.

Welcome to WWDC25
There’s so much to dive into at WWDC25. Here’s a quick guide to help get you started.

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 5-Minute Recap
Watch a quick recap of the newest advancements on Apple platforms.