如何实际卸载Xcode? [英] How can I actually uninstall Xcode?

查看:243
本文介绍了如何实际卸载Xcode?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Xcode时遇到问题,并尝试安装Homebrew,因此我决定只卸载Xcode并重新开始.但是,我在网上找不到的任何卸载方法都可以正常工作.

I'm having issues with Xcode and trying to install Homebrew, so I decided to just uninstall Xcode and start fresh. However NONE of the uninstall methods I have found anywhere online, work.

对于初学者来说,我通过App Store进行了安装,无论花费多少.看来这意味着有些事情与那些没有的事情有所不同.

For starters, I installed via the App Store, for whatever that's worth. It seems to mean some things are different from those who did not.

接下来,我没有/Developer目录,因此任何想要我运行以/Developer路径开头的内容的操作都将无法正常工作.

Next, I have no /Developer directory, so ANYTHING that wants me to run something starting with a /Developer path will not work.

没有/Library/Developer/Shared/uninstall-devtools,因此执行该操作将始终失败.

There is no /Library/Developer/Shared/uninstall-devtools so executing that will always fail.

从我的应用程序"文件夹中删除Xcode.app并清空垃圾桶,除了删除实际的应用程序本身外,似乎没有做任何事情,App Store仍然认为它已安装.我仍然无法安装Homebrew.

Deleting the Xcode.app from my Applications folder and emptying trash, doesn't appear to have done anything except remove the actual application itself, the App store still thinks it's installed. I still can't install Homebrew.

究竟该如何真正卸载此东西?

How on earth can I actually succeed in uninstalling this thing?

没有人知道如何卸载Xcode的App Store版本,以便我可以重新安装它. =(

Does nobody know how to uninstall the App store version of Xcode so that I can reinstall it? =(

推荐答案

最终找到了重新安装XCode的解决方案.尽管已从主应用程序"文件夹中将其删除,但我在外部驱动器上安装了辅助系统,并且XCode在那里.从该驱动器上的Applications文件夹中删除它-即使我没有从该驱动器中启动-仍然允许我从应用商店中重新安装XCode.

Finally found the solution to reinstalling XCode. Although I had deleted it from my primary Applications folder, I had a secondary System installed on an external drive, and XCode was present there. Removing it from the Applications folder on THAT drive - even though I was not booted from it - allowed me to reinstall XCode from the app store.

这篇关于如何实际卸载Xcode?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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