Re: Deployment target for a Leopard only app
Re: Deployment target for a Leopard only app
- Subject: Re: Deployment target for a Leopard only app
- From: "Kyle Sluder" <email@hidden>
- Date: Wed, 6 Feb 2008 05:57:28 -0500
On Feb 6, 2008 5:43 AM, Dave Verwer <email@hidden> wrote:
> Hi
>
> I am developing an app which is only really useful if you have Leopard
> so I am happy to make it Leopard only but if I change the deployment
> target to 10.5 in the project build settings then people running tiger
> or below just get a couple of dock bounces and then the app crashes
> silently. To fix this I set the deployment target to 10.3 while
> keeping the target SDK 10.5 and implemented a simple version check[1]
> in main().
You seem to be going about this the wrong way. If you need to link
against 10.5 symbols, you can't perform a version check in main(),
because you'll still be linking against libraries that don't exist on
10.4 and below.
Why aren't you using the LSMinimumSystemVersion key in your
Info.plist? Alternatively, you can use the "bootstrap" approach
documented here: http://weblog.bignerdranch.com/?p=13
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden