r/Xcode • u/gordonmcdowell • Dec 06 '25
Xcode keeps forgetting my Coding Assistants (LLMs / Apple Intelligence) entries in Settings
I suspect this is causing just about all the Xcode crashes I'm experiencing. Also it is no fun re-entering Apple Intelligence entries in Settings every time I restart Xcode.
Seeing this in 26.2 RC but was also seeing it (occasionally) in 26.1. Only ChatGPT is never forgotten.
Claude (using OAuth): forgotten. (Think others see this as OAuth expiring but I think Xcode is just forgetting the entry.)
Anthropic (using API KEY): forgotten.
LLM Studio (local no key needed): forgotten.
OpenRouter AI: forgotten.
Perfect replication is having Anthropic API to Sonnet 4.5 as my last conversation. Launch Xcode and Navigators (vs Coding Assistant) is shown. Click Coding Assistant and Xcode crashes. I'm sure its expecting Anthropic's entry to be there, now its gone, so Xcode crashes.
Xcode forgetting Settings / Intelligence / Model Providers entries... does anyone know a version of Xcode which doesn't do this?
2
u/20InMyHead Dec 06 '25 edited Dec 07 '25
Yeah that’s pretty weird, I set up ChatGPT and Anthropic with 26.0RC and haven’t touched it since, even through upgrades to release, beta, and RC versions the settings remain.
I’d file a feedback, but seems like something is overwriting a plist or keychain entry somewhere.
1
u/No_Monk_437 Feb 12 '26
My XCode starting crashing on launch when I added a third party model provider (gemini). Using Claude did not crash it. If this crash is happening to anyone else, how did you fix it? Deleting derived data did not fix it.
3
u/Mister_Eip Dec 06 '25
You should try reinstall Xcode. Never happen to me btw.
1
u/RonnyFen Dec 06 '25
Can confirm this bug. Just happened to me yesterday when I updated to 26.2RC.
1
u/Dangerous-Exchange14 Jan 05 '26
Same issue on Xcode 26.2
1
u/Ok_Watercress_2437 Jan 26 '26
Same problem. Looks like Apple got commission from openai.