xcode your session has expired

Hi everyone,


Since few time, i have a trouble with my apple id account.


I can't log in Xcode with my apple id. When i go to XCode > Preferences > Account, i have "Your session has expired. Please log in" error under my apple id.


But when i click on "Sign in again" i have got the following error message : "Your session has expired. Please log in."


So, i have removed my apple id from xcode but when i try to re-add it i have got the same message again...


On other hand, connecting to Appstore, developer portal, itunes connect and https://appleid.apple.com still working but not with XCode ?!


Any idea ?


Thank you very much,


ps : I work on Mac OSX El Capitan, XCode 7.3.1

Posted on Dec 15, 2016 6:25 AM

Reply
3 replies

Dec 16, 2016 5:32 AM in response to epsidev

I finally found the solution !


Just turning on two factor authentication on your account.


1 - Go to system preference > iCloud > Account detail

2 - Open Security tabs

3 - turning on Two factor authentication

4 - follow the instructions (give a phone number)

5 - Fill the activation code you received by sms

6 - Try to login in your Xcode


It works for me

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

xcode your session has expired

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.