我可以在 OS X 10.10 Yosemite 上安装 XCode 7.3 吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/36391899/
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
Can I install XCode 7.3 on OS X 10.10 Yosemite?
提问by Thyselius
I'm unable to upgrade my OS X to 10.11, due to reasons. XCode 7.3 seems to be the first XCode not to be compatible with Yosemite 10.10.
由于某些原因,我无法将我的 OS X 升级到 10.11。XCode 7.3 似乎是第一个与 Yosemite 10.10 不兼容的 XCode。
Has anyone succeeded in getting XCode 7.3 to work on Yosemite? (What's the important update to XCode that hasto make it uncompatible with Yosemite?)
有没有人成功地让 XCode 7.3 在 Yosemite 上工作?(什么是Xcode中重要的更新是具有使其未对应与约塞米蒂?)
回答by Helen Wood
Unfortunately no, you can not.
不幸的是,不,你不能。
You need OS X 10.11 or later (El Capitan), since March 21st.
自 3 月 21 日起,您需要 OS X 10.11 或更高版本 (El Capitan)。
So you either update from Yosemite to El Capitan or stick with your current Xcode.
所以你要么从优胜美地更新到 El Capitan,要么坚持使用当前的 Xcode。
Important? I will say not that much... iOS 9.3 and Swift 2.2, if you are fond of... With the rest of the OSs. The rest is pretty much the same, it's not a major update.
重要的?我不会说那么多...... iOS 9.3 和 Swift 2.2,如果你喜欢......还有其他操作系统。其余的几乎相同,这不是重大更新。
回答by Thyselius
IF you are here because you updated your device (iPhone, Apple TV etc) and can no longer export your apps to this updated device, there is a workaround!
如果您是因为更新了设备(iPhone、Apple TV 等)而无法再将您的应用导出到此更新后的设备上,这里有一个解决方法!
You can actually copy the newest version of iOS XCode SDK from a newer version of XCode into your older version of XCode.
您实际上可以将最新版本的 iOS XCode SDK 从较新版本的 XCode 复制到旧版本的 XCode 中。
1 Rename your old XCode.app to XCode7.app, and install the latest version of XCode (yes you can have multiple versions)
1 将旧的 XCode.app 重命名为 XCode7.app,并安装最新版本的 XCode(是的,您可以有多个版本)
2 Grab the folder in your new XCode package content folder: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.3\
2 获取新 XCode 包内容文件夹中的文件夹:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.3\
And add it in the same place of your XCode 7.3 or 8.2 version /Applications/Xcode7.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
并将其添加到您的 XCode 7.3 或 8.2 版本 /Applications/Xcode7.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ 的同一位置
Restart XCode and you will be able to keep working!
重新启动 XCode,您将能够继续工作!