• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[SOLVED]Re: Xcode 2.2 , not current Mac OS SDK and Frameworks in /Library/Frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED]Re: Xcode 2.2 , not current Mac OS SDK and Frameworks in /Library/Frameworks


  • Subject: [SOLVED]Re: Xcode 2.2 , not current Mac OS SDK and Frameworks in /Library/Frameworks
  • From: Stephane Sudre <email@hidden>
  • Date: Tue, 29 Nov 2005 18:11:01 +0100


Le 28 Nov 2005, à 18:22, Stephane Sudre a écrit :

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.

The way it looks, the problem was due to the Headers and Frameworks search path both defined in the Project and Target build settings (all being empty but defined (appearing as bold in XC)).


Apparently, it might be the import of the ProjectBuilder project (or the update to a native target) which added blank headers and frameworks search path for the Target Build settings since I only played with the Project settings so far.

When you remove the empty custom target settings and use /Library/Frameworks for the Project build settings, it works ok.

_______________________________________________
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


References: 
 >Xcode 2.2 , not current Mac OS SDK and Frameworks in /Library/Frameworks (From: Stephane Sudre <email@hidden>)

  • Prev by Date: Re: Three Level Dependencies between xcode projects still fails inXCode 2.2
  • Next by Date: Re: Debugging an AudioUnit in Xcode 2.0
  • Previous by thread: Xcode 2.2 , not current Mac OS SDK and Frameworks in /Library/Frameworks
  • Next by thread: Three Level Dependencies between xcode projects still fails in XCode 2.2
  • Index(es):
    • Date
    • Thread