devernay / xcodelegacy

Legacy components for XCode 4-12 (deprecated compilers and Mac OS X SDKs)

Home Page:https://github.com/devernay/xcodelegacy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Xcode 7.3 MinimumSDKVersion key

mrpippy opened this issue · comments

After upgrading to Xcode 7.3 and copying the 10.6 SDK into Xcode.app, xcodebuild gave me the following error when building a 10.6 SDK-based project:

[MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk; its version (10.6) is below required minimum (10.11) for the macosx platform.

Xcode 7.3's /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Info.plist now contains a MinimumSDKVersion key which is set to 10.11. After removing this key/value from the Info.plist, building with the 10.6 SDK works as it did before.
I haven't tested XcodeLegacy, but I imagine it will need to make this change for Xcode 7.3+.

great finding!