卸载 Xcode 4.3
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9478410/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Uninstalling Xcode 4.3
提问by Alexandre
I have Xcode 4.3 installed on Mac OS Lion, but I can't find a way to uninstall it. Any ideas?
I have no
/Xcode4/Library/uninstall-devtools
(can't find an Xcode4 folder) or
/Developer/Library/uninstall-devtools
(Library folder doesn't exist under Developer)
我在 Mac OS Lion 上安装了 Xcode 4.3,但找不到卸载它的方法。有任何想法吗?
我没有
/Xcode4/Library/uninstall-devtools
(找不到 Xcode4 文件夹)或
/Developer/Library/uninstall-devtools
(开发人员下不存在库文件夹)
I have a Users/me/Library/Developer/Xcode
with:
我有一个Users/me/Library/Developer/Xcode
:
- DerivedData
- UserData
- Installs
- iOS DeviceSupport
- 派生数据
- 用户数据
- 安装
- iOS 设备支持
I have /Developer
with
我有/Developer
与
- Applications
- Documentation
- Extras
- Platforms
- 应用
- 文档
- 附加功能
- 平台
The only other place I could find a reference to Xcode was in Applications/Xcode.app
Is there something I've overlooked? I would really appreciate any help!
我能找到对 Xcode 的引用的唯一其他地方Applications/Xcode.app
是我忽略了什么吗?我真的很感激任何帮助!
回答by Mark Szymczyk
You uninstall Xcode 4.3 like you would uninstall most Mac applications, by moving it to the Trash. Xcode 4.3 is bundled as a single application so there's no need for an uninstall script.
您可以像卸载大多数 Mac 应用程序一样卸载 Xcode 4.3,方法是将其移至废纸篓。Xcode 4.3 捆绑为单个应用程序,因此不需要卸载脚本。
回答by kikomn
Maurizio Zilli:
毛里齐奥·齐利:
"In new Xcode 4 and Lion You can install and uninstall from Preferences : downloads : components
“在新的 Xcode 4 和 Lion 中,您可以从 Preferences : downloads : components 安装和卸载
If You want to uninstall completely XCode go to launchpad and push Xcode icon for two seconds, so click on the upper left checkbox."
如果您想完全卸载 XCode,请转到启动板并按下 Xcode 图标两秒钟,然后单击左上角的复选框。”
https://discussions.apple.com/thread/3784638?start=0&tstart=0
https://discussions.apple.com/thread/3784638?start=0&tstart=0
回答by user1439769
To uninstall xcode 4.3.x simply drag the Xcode.app to the trash. That's all.
要卸载 xcode 4.3.x,只需将Xcode.app拖到垃圾箱即可。就这样。
回答by Lri
There's still some large docset files in ~/Library/Developer/Shared/Documentation/DocSets/
. You could search for other support files with mdfind -name xcode -0 | xargs -0 du -sm | sort -rn
.
中仍然有一些大的 docset 文件~/Library/Developer/Shared/Documentation/DocSets/
。您可以搜索其他支持文件mdfind -name xcode -0 | xargs -0 du -sm | sort -rn
。
For some reason, /Library/Developer/
wasn't removed when I installed Xcode 4.3. It contained about 2GB of old docset files.
由于某种原因,/Library/Developer/
在我安装 Xcode 4.3 时没有被删除。它包含大约 2GB 的旧文档集文件。