Update Xcode using new Apple ID

Inorder to update xcode using the new apple id you need to remove the old credentials from the AppStore with which the app was downloaded, to do that you need to remove the _MASReceipt directory from the application.

To do this:

  • Open Finder and navigate to Applications,
  • Click XCode and right click to choose “Show Package Contents”,
  • Expand the Contents directory and click _MASReceipt to select it,
  • Type Command+Delete of right click and ‘Move to Trash’ to delete the directory permanently—you will be prompted for your credentials since this is a protected file.
  • Provide the password of the system.
  • Quit and restart AppStore, then find XCode.
  • Then update the xcode by clicking the “Update” button.
  • Provide the new apple id and password.

It will update your XCode to the latest version as the currently logged-in Apple user.

3 thoughts on “Update Xcode using new Apple ID”

  1. Unfortunately this is not working for me as it not showing any updates after deleting _MASReceipt . refreshed several times and searched for Xcode but App store is showing ‘get’ option not ‘update’

    Reply
  2. Did not work for me. But found the solution: In Xcode preferences, create the new apple id, sign in, and that’s it !

    Reply

Leave a Comment

We would like to show you notifications for the latest offers and updates.
Dismiss
Allow Notifications