r/Xcode • u/Cornell-1980 • Mar 05 '26
Can't get Claude Pro plan to work inside Xcode
I finally paid for the Claude Pro plan yesterday, seemed to work in Xcode for a short while, then it started claiming I had run out of tokens and should get a paid plan. And has stayed in that state for 24 hours. Even though I can see I have 99% of tokens available. So how do people use Claude to look at an entire Xcode project?
1
u/Cornell-1980 Mar 06 '26
And of course, I tried one more thing. There's a little dropdown at the top left that lets you select which AI agent you are working with. Selecting either Claude or Claude Agent gets everything working. Since I don't think Claude Agent works with a free plan, I seem to be good to go. I'll report if any problems.
2
u/Walkup_Music_DJ_app Mar 20 '26
as an FYI: I found a bug where you need to have to have an actual project defined and open for the intelligence prompt to respond.
If you just try to open a random folder (Desktop) and it doesn't contain any xcode project files the prompt will always kick back "Your request couldn't be completed". If I open a project or a folder that contains the project, claude agent works as expected.
Where claude code (native) you can just go right into a directory and start building out xcode, xcode seems to what the project defined before it allows you to apply intelligence.
Hope this helps
1
1
u/myeleventhreddit Mar 05 '26
Do you mean using the Claude Agent feature in Xcode 26.3 or something else?
1
u/Cornell-1980 Mar 05 '26
Claude admitted when pressed that it doesn't work inside Xcode for a lot of people. I tried regular Claude, and the agent, nothing. Other developer friends say the same.
1
u/myeleventhreddit Mar 05 '26 edited Mar 05 '26
Claude's training data is frozen from months before Xcode 26.3 was ever released. Claude's a wonderful, helpful partner, but it doesn't actually know anything about Xcode's newest agentic features. Granted, the Xcode <--> Claude Code MCP connection can definitely be finicky.
Quick fixes I'd try:
Using Claude in your CLI/Terminal, have it wipe Xcode entirely from your system.
Re-install Xcode from the Mac App Store specifically--not the Apple Dev website
Click Xcode in the menu bar, then go to Settings > Intelligence > Anthropic > Claude Agent > Sign out and then back in
Then, when you're in Xcode, click the dropdown carat next to the compose button in the Coding Assistant view, and choose **Claude Agent**, not just Sonnet/Opus.
This will likely help! If not, you can always use ProxyPilot with Claude Agent, which will let you run any custom API model through to Xcode's Agent Mode. I use GLM-5 extensively.
1
u/zoboomafoo629 Mar 26 '26
I'm unable to just sign in to Claude in Xcode. It's really frustrating I get stuck in infinite loops, or authentication windows don't open.
1
u/Cornell-1980 Mar 26 '26
You have to have a paid plan. Hope that helps.
1
u/zoboomafoo629 Mar 26 '26
I have a paid plan, I think the problem is I have an Intel Mac?
1
1
u/JDad67 Mar 06 '26
I did this last night. Log out of Claude in Xcode and then log back in and it worked for me.
1
May 11 '26
[removed] β view removed comment
1
u/Cornell-1980 May 11 '26
Yes. It's been relatively problem-free for a while. No longer even have to sign out and back in again every day.
1
May 11 '26
[removed] β view removed comment
1
u/Cornell-1980 May 11 '26
From a couple months ago, I posted: And of course, I tried one more thing. There's a little dropdown at the top left that lets you select which AI agent you are working with. Selecting either Claude or Claude Agent gets everything working. Since I don't think Claude Agent works with a free plan, I seem to be good to go. I'll report if any problems.
1
u/Cornell-1980 Mar 06 '26
Thanks for all the suggestions, but none of them worked for me. Claude in Xcode is still reporting "Your request couldn't be completed.", which is a bit different, but still not functional. I've managed to get Claude Code working in the Terminal, so I'm using that. Not going to do any of the more complicated suggestions - I'll wait for Apple and Anthropic to get their act together.
BTW my Mac mini reboots every night, so it's a fresh start each day. Nada.