Xcode 26.3 Codex Account just spinning

I have the new Xcode 26.3 running on an Intel MBP macOS 26.2

I have clicked to download Codex in the Xcode settings, then under the Intelligence section I select Codex but where it says "ChatGPT Account" there is a spinner that never ends.

I suspect it is meant to show a Sign In button.

I don't see any documentation to suggest this shouldn't work on Intel, so what gives?

My "ChatGPT in Xcode" section is successfully signed in, and i've tried signing that out.

Answered by dazboj in 876947022

I managed to get it working on my Intel MBP.

Xcode downloads the Apple Silicon version of codex, but you can replace it with the Universal one (And even a later version).

I had codex CLI installed through brew, and it was installed at /usr/local/Caskroom/codex/0.104.0/codex-x86_64-apple-darwin

I copied this file to /Users/darrenjones/Library/Developer/Xcode/CodingAssistant/Agents/Versions/17C528 and renamed it to codex. Restarted Xcode, and I could now Sign In through the Xcode settings. Restarted Xcode again, and I could even select the new 5.3 model.

It seems to also be happening with the Claude Agent. I've installed the agent but when I click the ... and then Sign in With a Claude.ai Account, The "Not signed in" label blinks then nothing happens.

I had the same problem; what I did was log out (and yeah, trying to log out properly with Codex is a big pain—you need to remove the config files). Then follow the instructions, and after I logged in the spinner ran on the GUI. I fired up Codex in Terminal, waited a moment, and closed the spinner UI. It told me it failed, then quit Xcode and Codex, and it should then let you continue as if nothing went wrong. to install the CLi version: https://developers.openai.com/codex/cli

Of course, yesterday after I installed macOS 13.3, Xcode froze on startup, telling me it was trying to recover a document that was not saved correctly. I wiped Xcode and ~/Library/Developer, rebooted, and installed Xcode 26.3 RC; the problem was still there (?). Installing Xcode 26.2 made the problem go away. The issue must be with Codex.

Uninstalling Codex does not help either—it keeps hanging on startup—so I wiped Codex config files in ~/Library. Xcode still hung, but I could click on the menu and get a response; tapping on the “triangle” I could see that the problem persisted. Clicking on Agent Settings throws the beach ball, so I quit, and a few minutes later Xcode realized Codex wasn’t there anymore.

Given the daily Codex updates, there is probably some work to be done by Apple and OpenAI.

macOS 26.3. not 13.3 as per my typo above

Something with knowing, you can also log in via device ID from the CLI in Terminal.

If you are not logged in already, you will be given a menu; I think option 2 is “via device ID.” If you are already logged in or you don’t see the login menu, try codex logout. Looks like Open added it to the CLI.

Thanks for the tips, however I still can't get it to work.

I've installed the codex CLI and successfully logged in. I tried logging out and back in again too.

Whenever I open Xcode Settings -> Intelligence -> OpenAI -> Codex It says ChatGPT Account and there is a never ending spinner.

Accepted Answer

I managed to get it working on my Intel MBP.

Xcode downloads the Apple Silicon version of codex, but you can replace it with the Universal one (And even a later version).

I had codex CLI installed through brew, and it was installed at /usr/local/Caskroom/codex/0.104.0/codex-x86_64-apple-darwin

I copied this file to /Users/darrenjones/Library/Developer/Xcode/CodingAssistant/Agents/Versions/17C528 and renamed it to codex. Restarted Xcode, and I could now Sign In through the Xcode settings. Restarted Xcode again, and I could even select the new 5.3 model.

Xcode 26.3 Codex Account just spinning
 
 
Q