How to switch the base SDK correctly
How to switch the base SDK correctly
- Subject: How to switch the base SDK correctly
- From: Markus Spoettl <email@hidden>
- Date: Wed, 19 Jan 2011 11:42:42 -0500
Hello,
I've been working on a Mac OS X project with base SDK set to 10.5. Now the time has come to use new 10.6 API and I'd like to switch my project's base SDK and deployment target to that version.
I went into the project info and on the general tab set option "Base SDK for All configurations" to "Mac OS X 10.6". I was under the impression that this should be it, but it isn't. Even after numerous cleans the project still gets compiled using the 10.5 base SDK and consequently emits a warning about non-existing API (see compiler transcript for one file below).
I've double checked the target settings for all configurations and they reflect the new base SDK set in the project.
I must be missing something obvious, but what? I'm working on Mac OS X 10.6.6 using Xcode 3.2.5.
Regards
Markus
CompileC build/ViewsTester.build/Debug/ViewsTester.build/Objects-normal/i386/SOChartAreas.o ../Views/chart/SOChartAreas.m normal i386 objective-c com.apple.compilers.gcc.4_2
cd /Users/markus/Projects/ViewsTester
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue -mmacosx-version-min=10.5 -gdwarf-2 -I/Users/markus/Projects/ViewsTester/build/ViewsTester.build/Debug/ViewsTester.build/ViewsTester.hmap -F/Users/markus/Projects/ViewsTester/build/Debug -I/Users/markus/Projects/ViewsTester/build/Debug/include -I/Users/markus/Projects/ViewsTester/build/ViewsTester.build/Debug/ViewsTester.build/DerivedSources/i386 -I/Users/markus/Projects/ViewsTester/build/ViewsTester.build/Debug/ViewsTester.build/DerivedSources -include /var/folders/O0/O0ALxgSnEEaMTBNyqkCKRU+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/ViewsTester_Prefix-bqmeijmrpewyzsccbwyolsejuldz/ViewsTester_Prefix.pch -c /Users/markus/Projects/ViewsTester/../Views/chart/SOChartAreas.m -o /Users/markus/Projects/ViewsTester/build/ViewsTester.build/Debug/ViewsTester.build/Objects-normal/i386/SOChartAreas.o
/Users/markus/Projects/ViewsTester/../Views/chart/SOChartAreas.m: In function '-[SOChartArea SOScopeBar:didSelectPopupInButton:]':
/Users/markus/Projects/ViewsTester/../Views/chart/SOChartAreas.m:1504: warning: 'NSMenu' may not respond to '-popUpMenuPositioningItem:atLocation:inView:'
/Users/markus/Projects/ViewsTester/../Views/chart/SOChartAreas.m:1504: warning: (Messages without a matching method signature
/Users/markus/Projects/ViewsTester/../Views/chart/SOChartAreas.m:1504: warning: will be assumed to return 'id' and accept
/Users/markus/Projects/ViewsTester/../Views/chart/SOChartAreas.m:1504: warning: '...' as arguments.)
--
__________________________________________
Markus Spoettl
_______________________________________________
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