How to build for Mac OS X 10.6 SDK in Xcode versions that don't include it

Dimitris picture Dimitris · Mar 8, 2012 · Viewed 12.2k times · Source

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?

Answer

bakercp picture bakercp · Jul 29, 2012

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

to:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk

It now sits along side the MacOSX10.7.sdk and MacOSX10.8.sdk, which were already there. They came with Xcode 4.4.

I'm running Xcode Version 4.4 (4F250) and OS X 10.8.

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.