在 Lion 中卸载 XCode
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8523983/
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
Uninstall XCode in Lion
提问by pertrai1
I just installed Xcode from the installation CD/DCD for my iMac and I don't know where it was installed but it is not in the /Applications/Developer
folder. Can someone please let me know how I can uninstall this and try to install again as it does not seem to be in the right place. I am trying to install jpeglib and it says xcode is not installed.
我刚刚从 iMac 的安装 CD/DCD 安装了 Xcode,我不知道它的安装位置,但它不在/Applications/Developer
文件夹中。有人可以告诉我如何卸载它并尝试再次安装,因为它似乎不在正确的位置。我正在尝试安装 jpeglib,但它说未安装 xcode。
Thank you for any assistance you can give.
感谢您提供的任何帮助。
回答by Gajendra K Chauhan
Open terminal window and type:Don't modify,type below line exactly.
打开终端窗口并输入:不要修改,准确输入下面的行。
sudo /Developer/Library/uninstall-devtools --mode=all
回答by kikomn
This might answer your question:
这可能会回答您的问题:
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 lhbf
Having similar problem. I installed xcode 4 and it installed in /Applications
, not /Developer/Applications
like 3.2.
有类似的问题。我安装了 xcode 4 并且它安装在/Applications
,而不是/Developer/Applications
3.2。
回答by Gabriel
Shouldn't it be in /Developer/Applications folder?
它不应该在 /Developer/Applications 文件夹中吗?
回答by mipadi
It should be installed to /Developer
. Also, did you install the Unix tools when installing Xcode? The compilation/installation of jpeglib is probably looking for those.
它应该安装到/Developer
. 另外,您在安装 Xcode 时是否安装了 Unix 工具?jpeglib 的编译/安装可能正在寻找那些。
回答by alf
Try open /Applications/Install\ Xcode.app
—it won't remove XCode (it's not installed yet), but will properly finish the installation.
尝试open /Applications/Install\ Xcode.app
- 它不会删除 XCode(尚未安装),但会正确完成安装。