如何强制安装xcode [英] how to force installation of xcode

查看:34
本文介绍了如何强制安装xcode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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.

这可能是由于之前通过从 DevelopersCenter 下载的尝试引起的 - 但由于失败,我尝试使用 AppStore 现在也失败了...

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...

我如何才能真正从失败的 XCode 安装中删除所有内容,以便在 AppStore 中重试?

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

非常感谢!

推荐答案

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

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.

这篇关于如何强制安装xcode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆