• 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
Re: Building For OS 10.1, 10.2, and 10.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building For OS 10.1, 10.2, and 10.3


  • Subject: Re: Building For OS 10.1, 10.2, and 10.3
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 6 Jan 2004 11:06:38 -0800

On Jan 6, 2004, at 8:33 AM, Mark Lentczner wrote:

Setting the SDK sets the build variable $(SDKROOT), and the build system automatically prefaces all system paths (e.g. /usr, /System, etc.) with the SDKROOT path.

Do you mean that the references to the frameworks (or perhaps their enclosing groups) has a reference to this variable? If so, I should be able to see it with "Get Info" on the groups or frameworks, no? Or do you mean that there is magic path mangling going on for paths that start '/System/Library/Frameworks/'?

The latter. Look in your Detailed Build Results. If you want to see more detail, add -v to the Other C Flags section of the target build flags to see just what your search paths are.


In any event, this didn't seem to happen in my project when I recently switched it to 10.2.8. I didn't get any of the compiler warnings until I changed the references to the frameworks myself (see my other post...)

Actually, now that I think of it. Perhaps it depends on which stationary you start with? Perhaps some stationary has things set up to reference that variable, and some don't? Just a thought... I believe that I started my project with the "Cocoa Bundle" stationary.

If your stationery is still using older targets, changing the SDK in the project has no effect: SDKs can only be used with native Xcode targets. We haven't updated the stationery to use native targets by default.


Chris
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Building For OS 10.1, 10.2, and 10.3 (From: "James J. Merkel" <email@hidden>)
 >Re: Building For OS 10.1, 10.2, and 10.3 (From: Erez Anzel <email@hidden>)
 >Re: Building For OS 10.1, 10.2, and 10.3 (From: Chris Espinosa <email@hidden>)
 >Re: Building For OS 10.1, 10.2, and 10.3 (From: Glen Low <email@hidden>)
 >Re: Building For OS 10.1, 10.2, and 10.3 (From: Chris Espinosa <email@hidden>)
 >Re: Building For OS 10.1, 10.2, and 10.3 (From: Mark Lentczner <email@hidden>)

  • Prev by Date: building a dylib
  • Next by Date: Re: Documentation window
  • Previous by thread: Re: Building For OS 10.1, 10.2, and 10.3
  • Next by thread: Re: Building For OS 10.1, 10.2, and 10.3
  • Index(es):
    • Date
    • Thread