Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Updating XCODE using different apple account

Tags:

I have MAC OS 10.7.3. xcode 4.3.1 installed using different apple id as my macbook pro was used previously by my friend. Now when i try to upgrade Xcode to 4.3.2 it asking credentials for my friends account. Unfortunately App store clearly says you can upgrade an app using the account which was used to install the app.

How can i upgrade Xcode using my credentials?

Thanks in advance.

like image 275
suresh Avatar asked May 01 '12 07:05

suresh


People also ask

How do you update an app if it was purchased with a different Apple ID?

Basically, If an app is purchased/downloaded using one Apple ID, then you can't update it with another Apple ID. The app is inextricably linked to the first Apple ID. You'll have to delete it and repurchase/download it again with the second Apple ID.

How do I change the Apple ID associated with IOS developer Program?

To update the Apple ID and/or email address associated with your developer account, sign in to the Apple ID website and modify your information. To update your address, contact information, or organization name, please contact us.

Do you need an Apple Developer account to use Xcode?

You can learn how to develop apps for Apple platforms for free without enrolling. With just an Apple ID, you can access Xcode, software downloads, documentation, sample code, forums, and Feedback Assistant, as well as test your apps on devices. If you don't already have an Apple ID, you can create one now.


2 Answers

I am sure you would have solved this by now but just posting the solution here that worked for me..

  1. Open Finder and navigate to Applications,
  2. Ctrl+Click the application and choose "Show Package Contents" (Xcode in this case),
  3. Expand the Contents directory and click the _MASReceipt directory to select it, Type Command+Delete to delete the directory permanently---you will be prompted for your credentials since this is a protected file.
  4. Quit and restart AppStore, then find the application. You can update with your new id now without deleting the old version of the app

Hope this helps someone coz it took me a while to figure out !!

like image 176
Venkat Avatar answered Sep 22 '22 09:09

Venkat


Unfortunately had to answer my own question, Simple Answer: NO, You cannot update xcode installed from another account. Solution is to delete the existing installation and re-installing from new account. To delete the existing installation, you need to delete it from Launch pad. You can do this by locating xcode icon in launch pad, long click on the icon till it starts dancing. Then delete it and wait for a while till the xcode.app is deleted from /Application. If you manually delete xcode.app from /Application, App store will continue to think its installed and will not allow you to reinstall in future.

Above solution is assuming you have installed xcode from the mac app store, usually versions later than 4.2. For earlier versions, just deleting /Application/xcode folder should work.

like image 20
suresh Avatar answered Sep 18 '22 09:09

suresh