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: "Mark Munz" <email@hidden>
- Date: Fri, 8 Feb 2008 07:37:09 -0800
Although, sadly, most older systems (including 10.3.x) don't actually
use the value and even newer versions give a confusing error message
to the user. So the feature doesn't help very much.
I did see that Big Nerd Ranch did offer up a solution to this,
although it is a bit more work.
http://weblog.bignerdranch.com/?p=13
On 2/6/08, Matt Gough <email@hidden> wrote:
> Probably simplest to just add
>
> <key>LSMinimumSystemVersion</key>
> <string>10.5.0</string>
>
> to your Info.plist and stick with the 10.5 deployment target
>
> Matt Gough
>
> On 6 Feb 2008, at 11:43, Dave Verwer 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(). This works great, but now I get warnings like this:
> >
> > warning: Mac OS X version 10.5 or later is needed for use of
> > foreach-collection-statement
> >
> > I have had a look in the GCC 4.0 Warnings options and I dont see
> > anything that would turn these off. Is what I am doing best practice?
> > If so, can I turn those specific warnings off with a #pragma?
> >
> > Cheers
> > Dave
> >
> > [1] - http://pastie.caboo.se/private/glqmeydmzn2dsgqobvofvg
> >
> > --
> > e-mail: email@hidden
> > web: http://shinydevelopment.com
> >
> > Shiny Development Ltd. is registered in England, Registration Number:
> > 05805802. Registered Office: 4 Claridge Court, Lower Kings Road,
> > Berkhamsted, Herts., HP4 2AF.
> > _______________________________________________
> >
> > 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
>
> _______________________________________________
>
> 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
>
--
Mark Munz
unmarked software
http://www.unmarked.com/
_______________________________________________
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