kilojoules
kilojoules

Reputation: 10083

download 10.8 sdk on OSX 10.10 / set MACOSX_DEPLOYMENT_TARGET=10.8

It would be very useful to me to successfully export MACOSX_DEPLOYMENT_TARGET=10.8. When I do that, I get this message:

CMAKE_OSX_DEPLOYMENT_TARGET is '10.8' but the matching SDK does not exist at: "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/‌​SDKs/MacOSX10.8.sdk" Instead using SDK: "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/‌​SDKs/MacOSX10.10.sdk".

I tried following these instructions github.com/phusion/traveling-ruby/tree/master/osx but in XCode -> Developer -> Plaforms -> Mac Platforms -> Developer -> SDKs I only have the 10.10 and 10.9 SDKs. How can I successfully export MACOSX_DEPLOYMENT_TARGET=10.8?

Upvotes: 0

Views: 2934

Answers (1)

Thomas
Thomas

Reputation: 3225

You can compile for Mac OS X 10.8 (even for 10.4!) using the 10.10 SDK.

export MACOSX_DEPLOYMENT_TARGET=10.8 is all you need, ignore the (useless) warning.

Upvotes: 2

Related Questions