问题
I am following this apple doc and trying to add provisioning profiles and signing identities for a new apple-id. The problem is that when I add a new apple-id in Xcode -> Settings -> Accounts I am getting "Error Fetching Developer Info".
This is about all I have found searching around on google. I've restarted Xcode multiple times to no avail. Has anyone encountered this error?
How do I fix this issue?
回答1:
This is what worked for me.
XCode > Preferences > Accounts
Retype password, then click the General tab.
Then, go back to the Accounts tab. The error disappeared.
I'm guessing there are a number of situations that can cause this issue, just wanted to post what worked for me.
回答2:
I had the same problem with Xcode6 GM and found the error in the system.log. When communicating with the developer portal, my name contained special characters like è, ä, ü, ß etc. After the change to ae, ue and ss I could use my AppleID and all certificates were for the use of Xcode6 downloaded.
Check your "system.log" file with your konsole.app and check if you have an DVTDeveloperAccountErrorPortalResponseText in your communication as the following:
DVTDeveloperAccountErrorPortalResponseText=<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>firstName</key>
<string>René</string>
<key>lastName</key>
<string>Bärnshofer</string>
If yes, change your developer account name in the developer portal. That solved my problem. But I guess there is an issue in the communication of the developer portal. In Xcode5.x all my accounts are working fine and my userLocale is correct. In Xcode6 my locale is US-EN and so I guess the special characters does not match or could not processed. I opened a bug report for that. Maybe Apple will fix the issue
回答3:
"Error Fetching Developer Info" is also Xcode's way of telling you that the password is incorrect. Luckily it told me so in the console.
回答4:
"Error Fetching Developer Info" is also Xcode's way of telling you that the password has expired. Make sure you can log into the developer portal - if you haven't changed your password in the past year (?) you will get a message when logging on to the portal telling you to se up a new password. Do this on the portal then put the new password into XCode.
回答5:
Besides an incorrect/expired password, it might also be that you have Two-Step Verification (2FA) enabled - as was my case.
Disable it, then enter your password, and click on the "General" tab, and then click back on the "Accounts" tab in Xcode's Preferences.
回答6:
I had to verify my account at https://appleid.apple.com/.
来源:https://stackoverflow.com/questions/23818508/xcode-error-retrieving-developer-info