MacStore更新Xcode时提示帐户不对,更换帐户方法

为了免下载安装Xcode,安装时使用了别人提供的Xcode.dmg安装,而非使用自己账号在AppStore下载的。

     这样的安装模式会出现一个问题,更新Xcode时AppStroe会提示让你输入下载该Xcode的账号及密码,该账号不能直接修改。下面的方法可以删除原有账号信息,而后可以使用新的账号信息更新。

     做如下步骤:

     1.打开引用程序目录

     2.找到Xcode,右键“显示包内容”

     3.找到_MASReceipt文件夹

     4.删除它,然后退出重启AppStroe,更新Xcode即可。

     To make the AppStore forget the old credentials with which the app was downloaded, you must remove the _MASReceipt directory in the app itself.

     To do this:

  1. Open Finder and navigate to Applications,

  2. Ctrl+Click XCode and choose "Show Package Contents",

  3. Expand the Contents directory and click _MASReceipt to select it,

  4. Type Command+Delete to delete the directory permanently---you will be prompted for your credentials since this is a protected file.

Quit and restart AppStore, then find XCode. The button should now say "Free" or "Install" instead of "Update". Clicking it will update your XCode to the latest version as the currently logged-in Apple user.

原文:http://apple.stackexchange.com/questions/53648/mac-app-store-how-to-check-which-account-was-used-to-buy-app    

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值