将 Xcode 5 降级到 Xcode 4.6.1

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

Downgrade Xcode 5 to Xcode 4.6.1

xcodexcode4xcode5

提问by Sophia_xoox

I have been trying to research a way that I would be able to revert back to Xcode 4.6.1, I can't seem to find a solution.

我一直在尝试研究一种能够恢复到 Xcode 4.6.1 的方法,但似乎找不到解决方案。

I've seen that in the past people have downgraded their Xcode.

我看到过去人们降级了他们的 Xcode。

Is there a way that I can downgrade Xcode 5 back to Xcode 4.6.1?

有没有办法将 Xcode 5 降级回 Xcode 4.6.1?

I have older versions of apps which clients do not wish to upgrade. However I still need to make amendments to theses applications. I need them to remain the same.

我有客户不想升级的旧版本应用程序。但是我仍然需要对这些申请进行修改。我需要它们保持不变。

Is there any way that I can downgrade Xcode?

有什么办法可以降级Xcode吗?

回答by Mark Szymczyk

Move Xcode 5 to the Trash. Download and install Xcode 4.6. You can download older versions of Xcode from the following URL:

将 Xcode 5 移至废纸篓。下载并安装 Xcode 4.6。您可以从以下 URL 下载旧版本的 Xcode:

https://developer.apple.com/downloads/index.action

https://developer.apple.com/downloads/index.action

You can also have both Xcode 4 and 5 installed. You will have to rename your existing Xcode 5 app from Xcode to another name like Xcode5 before you install Xcode 4.6 in the Applications folder.

您也可以同时安装 Xcode 4 和 5。在 Applications 文件夹中安装 Xcode 4.6 之前,您必须将现有的 Xcode 5 应用程序从 Xcode 重命名为另一个名称,如 Xcode5。

回答by yang

I followed your instruction to downgrade xcode 5.1 to xcode 4.6.1. The steps seems to work, however, when I try to install the command line tool, the Components tab of the Downloads preferences panel shows "No components are available". How do I get the command line tool to show up in the component panel?

我按照您的指示将 xcode 5.1 降级到 xcode 4.6.1。这些步骤似乎有效,但是,当我尝试安装命令行工具时,“下载”首选项面板的“组件”选项卡显示“没有可用的组件”。如何让命令行工具显示在组件面板中?

Before the downgrade, with xcode 5.1, I did "xcode-select —install" to install command line tool. I assume it has been removed when I dragged the xcode 5.1 to the trash.

在降级之前,使用 xcode 5.1,我做了“xcode-select —install”来安装命令行工具。我假设当我将 xcode 5.1 拖到垃圾箱时它已被删除。