Shyamal Chandra
Shyamal Chandra

Reputation: 129

How do you get the older Mac OSX SDKs for Xcode?

How can I can the 10.6 version of MacOSX SDK with the latest version of the Xcode (version 4.6)?

Upvotes: 5

Views: 5566

Answers (1)

Bo A
Bo A

Reputation: 3154

You would have to install an older Xcode, take MacOSX10.6.sdk out of the SDK folder at the location it's installed (default: /Developer/Platforms/MacOSX.platform/Developer/SDKs) and copy it to the SDK folder in your latest Xcode.app (default: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs).


As for fixing your error, try importing/including <sys/ucontext.h> instead of Apple's ucontext.h.

Upvotes: 5

Related Questions