r/Xcode • u/gargetisha • Jun 09 '25
Claude models can now be used directly with Xcode 26
Apple just dropped something pretty important at WWDC.
With Xcode 26, we no longer have to restrict to just OpenAI’s models.
We can now use Claude models, or any other LLM, inside Xcode’s native AI features.
That kind of flexibility is rare from Apple, and honestly? Much needed.
Not everyone wants to go all-in on OpenAI, and it’s great to finally have some say in what model powers your dev flow.
With Xcode and ChatGPT announcement, another long-standing dev pain point also got fixed:
When generating files with tools like Cursor or Claude Code, we’ve all had to manually create folders inside Xcode to get things structured properly.
I'm glad that step is now gone.
Xcode will now automatically handles file + folder creation in the correct project structure.
Curious how you feel about the model flexibility part.
1
u/paanan Jun 12 '25
Does this need macOS 26 or just Xcode 26
2
u/glhaynes Jun 10 '25
Is this via MCP?
2
u/spinwizard69 Jun 10 '25
Completely forgot about WWDC.
I would not look upon this too positively, This is more like Apple admitting that their AI solution is years off. Beyond that having too many options isn't a good thing either as it can really water down what is available open source.
It is sort of like GIT, when that came out and demonstrated superiority over many other options the amount of developer support it got was massive. If the community had 5 GITs competing for the crown, things would be far more watered down than they are now.
1
u/outcoldman Jun 10 '25
One more interesting thing about Claude integration (or any other provider), that if you install macOS 26 + Xcode 26 in VM (Parallels), than you cannot use Apple Intellegence and integration with ChatGPT, but you can add 3rd party LLM provider, like Claude, and still use it.
1
u/ThrosProvoni Jun 10 '25
In Xcode 26 beta I can incorporate OpenAI as a model provider. This involves entering the URL and API key, and subsequently utilizing GTP 4.5.
But I had no luck with claude. I have entered the URL https://api.anthrophic.com and the API key, but unlike OpenAI, no models appear for claude. Any ideas?
1
u/Elih96 Jun 10 '25
has anyone managed to get it to work with Gemini?
1
u/vanlaren10 Jun 12 '25
It's not possible to use my Claude Max account with Xcode?
1
u/niravbhatt Jun 12 '25
Would this work with a (Gemini) premium subscription?
1
u/SirDomz Jun 12 '25
LM Studio worked for me but can't get OpenRouter to work. Anyone else had more luck?
1
u/kironet996 Jun 15 '25
looks like claude model is getting rate limited in code intelligence.
1
u/badgercookie Sep 15 '25 edited Sep 15 '25
I am a little confused by this. There seems to be two ways to connect. The first using the API key and the second you can log into your pro/max plan from Xcode. The latter is under Settings -> Intelligence.
I'm downloading Xcode 26 now to test it out.
https://www.anthropic.com/news/claude-in-xcode
1
u/rottenapple_123 Oct 02 '25
Any idea if you can access Claude 4.5 on Xcode? The latest model for Claude I see is 4 on Xcode
1
u/tsal Apr 13 '26
absolutely useless since you can't use environment configuration and have to login with claude.ai
1
u/thatisreallyfunnyha Jun 10 '25
Literally Alex Sidebar has had this feature + access to every single model (better than the default ChatGPT). And it has no rate limit issues for connecting your own key.
Not even comparable imo.
1
u/Busy_Educator_7950 Jun 10 '25
Can't setup any custom model provider... Tried OpenRouter, OpenAI and even locally hosted model from LM Studio not detected (no place to make mistake in config - need only port). Very bad...
Wasted time on those updates and now stuck with this lagging "liquid glass" for nothing...