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.