how to force installation of xcode

僤鯓⒐⒋嵵緔 提交于 2019-12-04 15:09:26

问题


I tried to install XCode via AppStore but it fails with the following message:

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.

This might be caused by a previous try via Download from DevelopersCenter - but as that one failed, I tried with the AppStore which is now failing too...

How can I make really remove all from the failed XCode installation to have a retry with the AppStore?

btw. I already did this:

sudo /Developer/Library/uninstall-devtools --mode=all

Many thanks!


回答1:


The App Store doesn't install Xcode, exactly. What it does is to install the Xcode installer. If the installer is still in your applications folder, you can try reinstalling from that, or get rid of the installer to download it again.



来源:https://stackoverflow.com/questions/7068900/how-to-force-installation-of-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!