• 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: Best way to get warnings for 10.5 only calls?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to get warnings for 10.5 only calls?


  • Subject: Re: Best way to get warnings for 10.5 only calls?
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 30 Jan 2008 16:12:23 -0600

On 30 Jan 2008, at 3:29 PM, Knowledge Engineering wrote:

(1) Using Xcode 3.0 on Leopard for a project whose deployment target is 10.4 and above, what is the easiest way to get warning messages if I use a 10.5 - only function call?

Change the target's SDK from 10.5 to 10.4u. That will get you warnings/ errors upon finding things that aren't defined for 10.4. The formula is that you set the SDK for the highest version of the OS from which you want features, and the deployment target for the lowest version you'll permit the application to run on.


If it's just a matter of detecting 10.5 calls (that is, you intend to take advantage of weak-linking and Objective-C introspection to avoid using them on 10.4), you can switch back to the 10.5 SDK once you've done your detecting.

	— F

_______________________________________________
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: 
 >Best way to get warnings for 10.5 only calls? (From: Knowledge Engineering <email@hidden>)

  • Prev by Date: Find In Project Broken In 2.5 When Using All-In-One View?
  • Next by Date: Re: Best way to get warnings for 10.5 only calls?
  • Previous by thread: Best way to get warnings for 10.5 only calls?
  • Next by thread: Re: Best way to get warnings for 10.5 only calls?
  • Index(es):
    • Date
    • Thread