在Xcode 7中下载10.9和10.10的Mac OS X SDK
问题描述:
是否可以使用Xcode 7在OS X 10.11上针对Mac OS X 10.9和10.10 SDK进行下载和构建?
Is it possible to download and build against Mac OS X 10.9 and 10.10 SDKs on OS X 10.11 using Xcode 7?
答
是的, XcodeLegacy 脚本是一种自动化的自动化方法.
Yes it is possible, the XcodeLegacy script is a popular way to automate this.
或者您可以手动执行,需要将MacOSX10.9.sdk
(或指向它的符号链接)放入/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
.请注意,每次更新Xcode时都需要替换它,因此,符号链接是个好主意.
Or you can do it manually, you need to put MacOSX10.9.sdk
(or a symlink to it) into /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
. Note you'll need to replace it every time you update Xcode, so the symlink is a good idea.