At work we have one Mac laptop that everyone uses to compile and test our iOS app. The employee who originally installed XCode used his personal Apple ID, and has since left the company.

When I log in to the App Store on this PC, I can download new apps (including the Mavericks update) but when I try to update an existing app, especially XCode, it always brings up the login prompt, with the user id field disabled and prefilled with his Apple ID.

Can I update XCode without his Apple ID password?


No. You need his username and password to update.

As alternative you can create an account for your company, and then download Xcode again.

| improve this answer | |

I recently ran into this issue in a different context. I changed my developer appleID and had xCode registered under the defunct one. When I upgraded to Mavericks, Xcode wouldn't update, since I'd downloaded it from the Apple store under defunct AppleID.

I removed the association with the defunct appleID by removing the receipt from Xcode:

  • Control-click Xcode app and "show package contents".
  • Move the _MASReceipt directory to the trash in order to dis-associate Xcode with the old AppleID (you'll need your Mac's admin password).
  • Restart Apple store and "install" (rather than upgrade).

The net effect: Xcode will "install" (upgrade) but under your preferred AppleID.

You do NOT need your ex-employee's personal AppleID account for this, but you do need admin rights on the machine.

| improve this answer | |
  • 1
    If you don't see it in Finder (as I don't), try: sudo mv /Applications/Xcode.app/Contents/_MASReceipt /tmp/ and then reboot. – meeDamian Sep 15 '16 at 20:44
  • That's a good suggestion... I'm sure I had "show all files" on when I did this. – rholmes Sep 16 '16 at 13:42
  • 1
    Good! Worked on a macOS Sierra machine :) – tomacco Feb 16 '17 at 11:13
  • 1
    I fail to see why this isn't the accepted answer. Good thing I didn't give up when the top answer said you can't do it. – hoodakaushal Feb 15 '18 at 16:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .