Claude keeps logging out

Hi, I'm running Xcode version 26.0.1 (17A400). Every time I restart Xcode, it seems to not recognize my Claude login anymore, and I have to go through the whole authentication flow again. It's quite annoying. Does anyone have a solution for it?

Happening to me as well on 26.1. Especially troublesome when xcode crashes in the middle of Claude working and I can't re-open it and resume with context, since it logged out and the chat/change history is gone. Leaves changes partially complete and rollback isn't as easy.

Claude keeps logging out
 
 
Q