Xcode failed to download. Use the Purchases page to try again

因为要发布AppStore项目,今天发现无法用Xcode5.1来提交,提示需要Xcode5.1.1来提交;

于是准备去AppStore更新,但是一直提示:Xcode failed to download. Use the Purchases page to try again;

但是可以更新系统补丁,于是先更新了系统,然后再去更新Xcode,还是同样的错误,经过搜索和查找资料:

最后找到解决方法是把旧有的设置重设,但要先启动Mac App Store的Debug除错菜单:


  Step 1、启动Terminal程序,最简单的方法是在Finder输入Terminal;

       Step 2、输入以下指令并按Enter键:defaults write com.apple.appstore ShowDebugMenu -bool true;

       Step 3、重新启动Mac App Store,然后在Debug菜单下,选择Reset Application和Clear Cookies;

       Step 4、更新成功,提交AppStore成功。


提示:善于搜索,便能尽快的解决问题。

你可能感兴趣的:(Xcode failed to download. Use the Purchases page to try again)