Regarding the OAuth issue, I believe I need to sign in again if I switch Xcode versions.
For example, I signed in with Xcode 26.4 to use Claude agent, but when I switched to Xcode 26.5 and tried to use the agent again. Xcode will show the authentication failure message.
Failed to authenticate. API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth token has expired. Please obtain a new token or refresh your existing token."},"request_id":"req_011hoAXioU8pMsLnmS3c"}
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: