Your session has expired, please login

I log into my Apple Id account under Pref->Account. I AM able to login, it shows me as a team memeber. Then I exit xcode and when I run it, I go to Pref->Account, it says 'Your session has expired, please login'. I can do this over and over.


Thanks

Ralph

When are you asked to login ?

Under Pref->Account.

Have a paid dev program account, or using Xcode's free provisioning?

I'm having this exact problem as well, with a newly created Apple ID joined to my company's paid dev program. I found some older threads on this which recommended turning on two-factor authentication, but it made no difference for me.

EXACTLY. I just called apple support (AGAIN) and they told me to creae a xcode support incident (which I already did) and they told me to contact support. IS APPLE AWAKE HERE?


CAN ANYONE HELP.


I CAN'T CODE.


HELP HELP HELP

Try this. I received this and email and it did work for me


You can work around this in the meantime by setting this default in Terminal.app (Path: /Applications/Utilities/Terminal.app):


defaults write -g DVTDeveloperAccountUseKeychainService -bool NO


Quit and relaunch Xcode, log into any accounts again, and the credentials should be persisted.

2019 and the problem od “Your session has expired. Please log in.” is still there. And no solition.

Having the same problem. August 2020.
Same problem here. August 2020. Xcode 11.6.

After entering valid Apple ID and password I immediately see "Your session has expired.  Please log in" message again.

defaults write -g DVTDeveloperAccountUseKeychainService -bool NO and relaunching Xcode didn't help.
Reinstalling Xcode didn't help.
Same problem as everyone else. I can't login.. after entering valid login/pw it immediately says "Your session has expired. Please log in. Try signing in again or contact Apple Developer Support to resolve account access issues."

Can't code.. please help!
@valdamnit

This is an old thread, the more recent thread is here. Please comment and upvote so that it hopefully be more visible: https://developer.apple.com/forums/thread/656161
Same as YerlanKussainov.  August 2020. Xcode 11.6.

After entering valid Apple ID and password I immediately see "Your session has expired. Please log in" message again.

defaults write -g DVTDeveloperAccountUseKeychainService -bool NO and relaunching Xcode didn't help.
Reinstalling Xcode didn't help.
Same issue, August 2020.
Trying to enter password for dev account and see "session has expired" immediately in Xcode 11.6. However, if I open Xcode 12 beta 4, the account is marked as logged in.

P.S. I'm on Big Sur beta 4.
Having this exact problem on Big Sur Beta 11.0.

Has anyone been able to fix this?
same here.  Big Sur Beta 11.0 and Xcode Version 11.6 (11E708).

Updating xcode to version 12 might help? I haven't tried it yet, cause manually downloading new xcode and installing it, is pain in the *** for me.
Yes getting exactly same problem Xcode Version 11.6 (11E708)
Big Sur Beta 4

None of the solutions worked.
I am also having the same issue with Xcode Version 11.6 (11E708) on Big Sur Beta 4 and none of the mentioned solutions have worked for me.
In the past two days, I tried various methods to solve this problem. Log in again and again, change the password, create a new account, and consult Apple technical support, but there is no solution. is this Apple's product? can't it be solved in a few years? F U C K
I had this issue too and solved it by downgrading to Catalina
I am also having the same issue, even on macOS Big Sur Developer Beta 5... Lets hope the issue gets resolved soon.
Having the same issue!

Are Apple Developers sleeping under the table or what are they paid for?
Having the issue still on Big Sur Beta 5.
Same here :-( Big Sur Beta 5
Ditto! Having the same issue using:
Big Sur Beta and Xcode 11.6

FYI: I am able to add my Apple ID to the Xcode 12 Beta I have running on another computer which is running Big Sur.

So I may go back to Catalina on my other Mac. Does anyone if reverting back to Catalina solves the Xcode Account Sign in issue?
Basically I have Xcode 11.6 to archive our app. But the login process fails. So close Xcode 11.6 and open Xcode 12b3 where login process is working. Then go to Organizer and select the archive done with Xcode 11.5 and upload it to AppStore with Xcode 12b3.
Big Sur beta
Your session has expired, please login
 
 
Q