How can I can the 10.6 version of MacOSX SDK with the latest version of the Xcode (version 4.6)?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You would have to install an older Xcode, take
MacOSX10.6.sdkout 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’sucontext.h.