Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change the Apple ID that Xcode 4 uses to download components?

Tags:

xcode

I am running Xcode 4.2 on OS X 10.6.8.

Due to corporate policy, I have two Apple ID's. [email protected] is my "work" ID, and that's the ID that is connected to my iOS Developer Program membership. I also have [email protected], my "personal" ID, which is associated with my music, Angry Birds download, and so on.

I'm trying to install the iOS 4.3 Simulator from within Xcode (Xcode -> Preferences -> Downloads -> Components). When I click the "install" button next to that component, Xcode complains that [email protected] is not a "Registered Apple Developer". I'd like to have it use [email protected], but I can't find any reference anywhere that describes how to change it, within Xcode or otherwise. Can anyone explain how to beat Xcode into submission?

like image 880
Dalbergia Avatar asked Nov 03 '11 15:11

Dalbergia


People also ask

How do I find my Apple ID in Xcode?

From within Xcode 7. x or higher (Mac only), navigate to “Xcode—->Preferences—->Accounts.” Hit the '+' icon below left to add your Apple ID*. After you add your account, it will show within the main account window on the right.

How do I add a Apple account to Xcode?

Once you have upgrade all you need to do is Open the xcode 5 IDE >> Preferences... >> Accounts tab >> On the left hand side you will see Apple IDs and a + at the bottom select the + >> Add Apple ID... >> enter your Apple ID and Password click Add . The account should know be added.

Do you need a developer account to download Xcode?

The latest beta version and previous versions of Xcode can be downloaded from the Downloads page. To download Xcode, simply sign in with your Apple ID. Apple Developer Program membership is not required.


1 Answers

You can change the Apple Developer ID that Xcode has associated using Mac OS X's Keychain Access app:

  1. Quit Xcode
  2. Open Applications > Utilities > Keychain Access
  3. Locate the Keychain entry named "daw2.apple.com ([your Apple ID])" of kind Internet password
  4. Delete this Keychain entry and retry the download in Xcode by re-entering your credentials, or double click on the entry and update the Account and Password fields
  5. Open Xcode and retry the content download
like image 158
mjama Avatar answered Oct 22 '22 04:10

mjama