从 Lion 10.7.2 卸载 Xcode 3.2.6

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8986592/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 23:05:01  来源:igfitidea点击:

Uninstalling Xcode 3.2.6 from Lion 10.7.2

xcodemacososx-lionuninstall

提问by Hasanavi

I've installed xCode 3.2.6 on my Lion 10.7.2.

我已经在 Lion 10.7.2 上安装了 xCode 3.2.6。

After install I can't find the xCode icon to launch it. I've got to know 3.2.6 doesn't support Lion.

安装后我找不到 xCode 图标来启动它。我必须知道 3.2.6 不支持 Lion。

However, the worst thing happen when I tried to uninstall it with

然而,最糟糕的事情发生在我试图卸载它时

sudo /Developer/Library/uninstall-devtools --mode=all

Unfortunately uninstall-devtools wasn't there. I'm stuck middle of nowhere.

不幸的是,uninstall-devtools 不存在。我被困在偏僻的地方。

Does anybody have any idea how to uninstall it and install xCode 4.2?

有人知道如何卸载它并安装 xCode 4.2 吗?

采纳答案by zaph

If /Developer/Library/uninstall-devtools does not exist skip that step.

如果 /Developer/Library/uninstall-devtools 不存在,请跳过该步骤。

Delete the /Develop folder if it exists.

删除 /Develop 文件夹(如果存在)。

Install xCode 4.2. Th eXcode icon will be in /Developer/Applications

安装 xCode 4.2。eXcode 图标将在 /Developer/Applications 中

The Xcode latest beta is even easier to install, get it if you have access.

Xcode 最新测试版更易于安装,如果您可以访问,请获取它。

回答by Nimit Parekh

Following command fire on terminal and remove the all files and folder of xcode

在终端上执行以下命令并删除 xcode 的所有文件和文件夹

sudo /Developer/Library/uninstall-devtools --mode=all

also more information and show log of the uninstal so go refrence link here

还有更多信息并显示 uninstal 的日志,所以去这里参考链接

回答by Hollis Waite

If you install Xcode 3 from the GUI on Lion, you'll end up with a bunch of random tools but not the actual Xcode Toolset. In that case, you can use the uninstall-dev-tools located in /Library/Developer/Shared (rather than /Developer/Library).

如果您从 Lion 上的 GUI 安装 Xcode 3,您最终会得到一堆随机工具,而不是实际的 Xcode 工具集。在这种情况下,您可以使用位于 /Library/Developer/Shared(而不是 /Developer/Library)中的卸载开发工具。

Xcode installer run via double-clicking mpkg

Xcode 安装程序通过双击 mpkg 运行

You can fully install XCode 3 on Lion via the Terminal with the following commands:

您可以使用以下命令通过终端在 Lion 上完全安装 XCode 3:

export COMMAND_LINE_INSTALL=1
open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg"

Xcode installer run from terminal

从终端运行 Xcode 安装程序

回答by andistuder

careful: if you work in ruby, you better stay with xCode 4.1

小心:如果你在 ruby​​ 中工作,你最好继续使用 xCode 4.1