卸载 xcode 4.5 (iOS 6)

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

Uninstall xcode 4.5 (iOS 6)

xcodeios5ios6xcode4.5

提问by Irishgirl

Just realised I've made a mistake of updating xcode 4.5 (iOS 6) as it causing problems.

刚刚意识到我在更新 xcode 4.5 (iOS 6) 时犯了一个错误,因为它会导致问题。

How to uninstall xcode 4.5 (iOS 6)? safely? as iOS 6 is beta.I want to go back to xcode 5.1.

如何卸载 xcode 4.5 (iOS 6)?安全吗?因为 iOS 6 是测试版。我想回到 xcode 5.1。

回答by Leo Natan

iOS6 is no longer beta.So if you installed Xcode 4.5 from the store, you already have the release version of Xcode 4.5. If not, get it from the store.

iOS6 不再是测试版。因此,如果您从商店安装了 Xcode 4.5,则您已经拥有 Xcode 4.5 的发行版。如果没有,请从商店购买。

If you want an older version of Xcode, look here.

如果您想要旧版本的 Xcode,请查看此处

回答by elves

There are cases where you may not want to upgrade to the latest version of Xcode.

在某些情况下,您可能不想升级到最新版本的 Xcode。

In my company there are still customers with iPhone 3 that are running iOS 4.2.1 and Xcode 4.5 won't generate code for it. Xcode will generate for 4.3 upwards.

在我的公司中,仍有一些客户使用 iPhone 3 运行 iOS 4.2.1,而 Xcode 4.5 不会为其生成代码。Xcode 将为 4.3 以上生成。

Surprisingly I have an iPhone 3 (A1303) that has been upgraded to iOS 6.0 and Xcode won't generate code for that either.

令人惊讶的是,我有一部已升级到 iOS 6.0 的 iPhone 3 (A1303),而 Xcode 也不会为此生成代码。

So, for those that do need to downgrade, you use the link that @leo posted to get hold of the dmg for the version of Xcode you want (4.4.1 probably) and mount it. You then find the existing Xcode (in your application folder) and drag it to the waste bin, then drag the downgraded Xcode to the application folder. You may need to re-install the command line tools, if you use them. Make sure you get the version for your Mac's OS.

因此,对于那些确实需要降级的人,您可以使用@leo 发布的链接来获取您想要的 Xcode 版本(可能是 4.4.1)的 dmg 并安装它。然后找到现有的 Xcode(在您的应用程序文件夹中)并将其拖到垃圾箱,然后将降级的 Xcode 拖到应用程序文件夹中。如果您使用命令行工具,您可能需要重新安装它们。确保您获得适用于 Mac 操作系统的版本。