Can't change SDK
Can't change SDK
- Subject: Can't change SDK
- From: Gideon King <email@hidden>
- Date: Fri, 3 Sep 2010 17:18:47 +1000
Hi, I am on 10.6 and have a project which I would like to build for 10.5 (XCode 3.2.3), but it always wants to build using the 10.6 SDK. I have opened the project in XCode 4 - not sure if that may have caused the issue.
I have checked the project inspector, and the targets I'm building, and they all say that they will build with 10.5, but when I build, it uses the 10.6 SDK as follows:
CompileC "build/NovaMind.build/Debug 10.5 SDK/NMFoundation.build/Objects-normal/i386/NMXMLUtils.o" Source/NMXMLUtils.m normal i386 objective-c com.apple.compilers.gcc.4_2
cd /Users/gideon/Development/svn/trunk/mac
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.6.sdk -mfix-and-continue -gdwarf-2 "-I/Users/gideon/Development/svn/trunk/mac/build/NovaMind.build/Debug 10.5 SDK/NMFoundation.build/NMFoundation.hmap" "-F/Users/gideon/Development/svn/trunk/mac/build/Debug 10.5 SDK" -F/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks -F/Users/gideon/Development/svn/trunk/mac/Frameworks "-I/Users/gideon/Development/svn/trunk/mac/build/Debug 10.5 SDK/include" -I/Developer/SDKs/MacOSX10.6.sdk/usr/include/libxml2 "-I/Users/gideon/Development/svn/trunk/mac/build/NovaMind.build/Debug 10.5 SDK/NMFoundation.build/DerivedSources/i386" "-I/Users/gideon/Development/svn/trunk/mac/build/NovaMind.build/Debug 10.5 SDK/NMFoundation.build/DerivedSources" -DDEBUG -c /Users/gideon/Development/svn/trunk/mac/Source/NMXMLUtils.m -o "/Users/gideon/Development/svn/trunk/mac/build/NovaMind.build/Debug 10.5 SDK/NMFoundation.build/Objects-normal/i386/NMXMLUtils.o"
I do see a warning at the start of the build, like this:
[WARN]GCC 4.2 default deployment target 10.6.4 for architecture 'i386' and variant 'normal' is greater than the maximum value 10.6 for the Mac OS X 10.6 SDK.
Any suggestions about where else to look to get it building using the 10.5 SDK?
Thanks
Gideon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden