為了免下載安裝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:
-
Open Finder and navigate to Applications,
-
Ctrl+Click XCode and choose "Show Package Contents",
-
Expand the Contents directory and click _MASReceipt to select it,
-
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 us
原文:http://apple.stackexchange.com/questions/53648/mac-app-store-how-to-check-which-account-was-used-to-buy-app
文章列表