Xcode 8.1 says 'try signing in again or contac

2019-09-10 08:16发布

问题:

This question already has an answer here:

  • Your session has expired. Please log in, Xcode 8.2 giving this error while adding account 4 answers

I'm using a macbook pro, OS X El Capitan Version 10.11.6 Every time I try to add my apple id into it It says 'try signing in again or contact apple developer support to resolve the account access issue' but same id successfully login on web. Most important my other ids working perfect in Xcode

What I've already done

  1. Remove all account and try to login again
  2. Quit Xcode and restart Mac Pro
  3. Update all Certificates Keychain Access
  4. Delete all Expire Certificates from Keychain Access

Now what should I do?

回答1:

Added two factor authentication to Apple ID its worked for me.

You can follow the steps below to turn on two-factor authentication.

On your iPhone, iPad, or iPod touch with iOS 9 or later:

Go to Settings > iCloud > tap your Apple ID.

Tap Password & Security.

Tap Turn on Two-Factor Authentication.

On your Mac with OS X El Capitan or later:

Go to Apple () menu > System Preferences > iCloud > Account Details.

Click Security.

Click Turn on Two-Factor Authentication.

If you already use two-step verification, turn it off, then turn on two-factor authentication.

Read more