如何完全删除 Xcode 4 [英] How to fully remove Xcode 4
问题描述
我想删除所有现有的 SDK 版本以及 Xcode 4.
I want to remove all existing SDK versions as well as Xcode 4.
Xcode 4 指南说要这样做:
Xcode 4 Guide says to do this:
sudo /Xcode4/Library/uninstall-devtools --mode=all
但是我在这个位置没有 Xcode4,我看到它的唯一地方是在 /Developer/Applications
But I don't have Xcode4 at this location and the only place I see it is under /Developer/Applications
我已经运行了之前在 /Developer/Applications
中找到的卸载开发工具,然后重新安装.
I've already run the uninstall-devtools that was previously found in /Developer/Applications
and then did a reinstall.
我还能做些什么来完全删除所有内容并从头开始?
What else can I do to completely remove everything and start from scratch?
推荐答案
我使用这个命令:
sudo /Developer/Library/uninstall-devtools --mode=all
<小时>
编辑(1 年后):
如果您从 App Store 下载了 Xcode,它是独立的,正如@mediaslave 所建议的那样.您可以将其拖到垃圾箱或使用 AppZapper(或类似的实用程序)来删除开发者工具.
If you've downloaded Xcode from the App Store, it's self-contained, as @mediaslave suggests. You can just drag it to the trash or use AppZapper (or a similar utility) to remove the developer tools.
如果您想更新它,也可以直接通过 App Store 进行更新.
If you're looking to update it, you can also do that straight through the App Store.
这篇关于如何完全删除 Xcode 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!