如何降级 Xcode?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4587405/
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
How do I downgrade Xcode?
提问by Getsy
I am trying downgrade my latest installed Xcode 3.2.5 to older versions(3.1.x etc). Otherwise i'm unable to use iPad 3.2 simulator, iPhone 4.0 simulator and all in Xcode, eventhough i changed the deployment target to 3.2, 4.0 etc., which causes some issues to test really on these simulators. I also really want to know how do i uninstall existing latest Xcode and install some older Xcode versions which supported by Mac. I searched google, didn't find suitable answer for downgrading Xcode versions. Could someone please guide me how do i do that?
我正在尝试将我最新安装的 Xcode 3.2.5 降级到旧版本(3.1.x 等)。否则我无法在 Xcode 中使用 iPad 3.2 模拟器、iPhone 4.0 模拟器和所有这些,即使我将部署目标更改为 3.2、4.0 等,这会导致在这些模拟器上真正测试一些问题。我也很想知道如何卸载现有的最新 Xcode 并安装一些 Mac 支持的旧 Xcode 版本。我搜索了谷歌,没有找到降级 Xcode 版本的合适答案。有人可以指导我怎么做吗?
Thank you.
谢谢你。
回答by Stephen Petschulat
You should be able to install different versions side-by-side by installing it in a different directly. I use /Developer-v.x for older or beta versions. If you really want to get rid of your old one, you'll have to delete the /Developer directory and re-install your target version in that directory.
您应该能够通过直接将其安装在不同的版本中来并排安装不同的版本。我将 /Developer-vx 用于旧版或测试版。如果您真的想摆脱旧版本,则必须删除 /Developer 目录并在该目录中重新安装目标版本。
回答by Matt Blackmon
Follow the instructions in /Developer/About XCode and iOS SDK.pdf, in the section titled "Uninstalling Xcode Developer Tools". Then install the XCode version you want. For more gory details of XCode installation, see the apple docs.
按照 /Developer/About XCode and iOS SDK.pdf 中标题为“卸载 Xcode 开发人员工具”的部分中的说明进行操作。然后安装你想要的 XCode 版本。有关 XCode 安装的更多详细信息,请参阅苹果文档。