Warning: This is a modified version of "XCode 2.2: Frameworks in
/Library and Multiple Architecture issues".
After further investigation, it looks like the issue I'm seeing is not
linked to multiple architecture but to XCode way of dealing with SDKs.
I have this little project which is using 2 frameworks from
/Library/Framework.
o If I use the 'current Mac OS' SDK, everything builds fine.
o If I start using the 'Mac OS X 10.2.8' or any other SDKS, XCode is
unable to find the headers and the frameworks from
/Library/Frameworks. It can find headers and frameworks from
/System/Library. No need to use a multiple architecture project, a PPC
one is enough.
I had a look at some documentation on XCode explaining how to include
Frameworks and headers, I'm doing it fine (the proof being that
current MacOS SDK is working).
So I tend to think there is either:
- a bug in XCode 2.2 when it comes to Frameworks in
/Library/Frameworks and SDKs
- or the documentation, release notes are lacking some explanations.
- or I am not able to find the above documents.
My current guess is that XCode is looking for the headers in
/Developers/SDKs/MacOSX10.2.9.sdk/Library/Frameworks because it
believes its starting point is /Developers/SDKs/MacOSX10.2.9.sdk/ and
not /.
I tried to add a header search path or Frameworks search path with no
successes.