如何强制安装xcode

dom*_*omi 3 xcode app-store xcode4

我尝试通过AppStore安装XCode,但它失败并显示以下消息:

We could not complete your purchase
Xcode is already installed on this computer. Choose Software Update from the Apple menu to check for available updates.
Run Code Online (Sandbox Code Playgroud)

这可能是由之前的一次尝试通过从开发人员中心下载 - 但由于那次失败,我尝试使用现在也失败的AppStore ...

如何从失败的XCode安装中真正删除所有以重新启动AppStore?

顺便说一句.我已经这样做了:

sudo /Developer/Library/uninstall-devtools --mode=all
Run Code Online (Sandbox Code Playgroud)

非常感谢!

Mic*_*ber 12

App Store没有完全安装Xcode.它的作用是安装Xcode安装程序.如果安装程序仍在您的应用程序文件夹中,您可以尝试从中重新安装,或者删除安装程序以再次下载它.