Re: Xcode 3.2 10.3.9 SDK Error (solved)
Re: Xcode 3.2 10.3.9 SDK Error (solved)
- Subject: Re: Xcode 3.2 10.3.9 SDK Error (solved)
- From: Tony Scaminaci <email@hidden>
- Date: Mon, 31 Aug 2009 10:43:36 -0700 (PDT)
Thanks Chris. It turned out to be easier just to edit the project.pbxproject. I found two strings still pointing to the 10.3.9 SDK as well as one pointing to GCC 3.3. It builds fine now.
--- On Mon, 8/31/09, Chris Espinosa <email@hidden> wrote:
From: Chris Espinosa <email@hidden> Subject: Re: Xcode 3.2 10.3.9 SDK Error To: "Tony Scaminaci" <email@hidden> Cc: email@hidden Date: Monday, August 31, 2009, 12:19 PM
On Aug 31, 2009, at 8:58 AM, Tony Scaminaci wrote:
> My app was compatible with the 10.3.9 SDK up until Xcode 3.2 and I realize I must remove that SDK to use 3.2. I've edited all of the places in my project where the 10.3.9
SDK was invoked as well as any references to 10.3 and replaced them with the 10.4 SDK. I was sure I caught everything but Xcode is still finding some location pointing to a 10.3.9 SDK. I've gone through every tab in the project setup and I can't find any reference to 10.3 or the 10.3.9 SDK. Any ideas on where Xcode is picking this up or should I text edit the project file and replace it manually?
The major places where SDK information is stored is:
- Project > Get Info > General > Base SDK - Project > Get Info > Build > All Configurations > Base SDK - Project > Edit Target Settings (for every target) > Build > All Configurations > Base SDK
It's possible that some references to the SDK directory got added to the Header Search Paths, Library Search Paths, or Framework Search Paths, so you might want to check those as well. Remember to look in all configurations.
You may also want to
see if any project members (like static libraries) are being referred to by absolute path. Looking at the project in Detail view, using the context menu to reveal the Path column, and sorting by Path is a good way to find these.
A useful debugging technique is to add "-v" to Other C Flags to get verbose compiler output, which will show you the search paths for headers.
Opening the project.pbxproject file is a last resort, but it's reliable. If you find "10.3" anywhere it's a dead giveaway.
It's easier to diagnose the situation if you select the "Compiling" and error lines from the build log and drag and drop them into a reply, then we can see what's actually going on.
Chris
|
_______________________________________________
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