如何以x code版本构建的Mac OS X 10.6 SDK不包括它 [英] How to build for Mac OS X 10.6 SDK in Xcode versions that don't include it
问题描述
我的X code只允许我选择的Mac OS X 10.7为最早的基地SDK。
是否有可能安装其他的SDK基础?
My Xcode only allows me to select Mac OS X 10.7 as the earliest Base SDK. Is it possible to install additional base SDKs?
推荐答案
我发现我的备份磁盘中的一个老X版本code 4.3的拖的副本:
I found an old version of Xcode 4.3 on one of my backup disks and dragged a copy of:
/Developer/SDKs/MacOSX10.6.sdk
到
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
现在沿着侧坐在 MacOSX10.7.sdk
和 MacOSX10.8.sdk
,这已经那里。他们来到以X code 4.4。
It now sits along side the MacOSX10.7.sdk
and MacOSX10.8.sdk
, which were already there. They came with Xcode 4.4.
我跑X code版本4.4(4F250)和OS X 10.8。
I'm running Xcode Version 4.4 (4F250) and OS X 10.8.
重新启动X $ C $℃之后,记得要到构建设置和基本SDK设置为OS X 10.6,如果它默认为当前OS X和你的项目需要10.6 SDK。
After restarting Xcode, remember to go into build settings and set the Base SDK to OS X 10.6 if it defaulted to "Current OS X" and your project requires the 10.6 sdk.
这篇关于如何以x code版本构建的Mac OS X 10.6 SDK不包括它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!