Re: Running apps compiled for newer OS X versions on older versions (rant)
Re: Running apps compiled for newer OS X versions on older versions (rant)
- Subject: Re: Running apps compiled for newer OS X versions on older versions (rant)
- From: Alastair Houghton <email@hidden>
- Date: Mon, 22 Aug 2016 12:34:09 +0100
> On 22 Aug 2016, at 12:15, Andreas Falkenhahn <email@hidden> wrote:
>
> Out of curiosity, I've just run a little test and compiled my app on the
> 10.11 system for the 10.11 target and tried to run it on the 10.6 system,
> just to see what happens. All I got is a message "Illegal instruction"
> printed to stdout, or, when starting the app through Finder, a message
> dialog telling me that the app has crashed and needs to be shut down.
> Optionally, it offered me to send a crash report to Apple.
>
> That was quite a surprise to me. I mean, this is the 21st century, I think
> one could at least expect a message dialog telling the user that this app
> needs at least Mac OS 10.11 or something, but no, it just crashed, leaving
> the user quite clueless as to why it did so.
The trick here is that you need to set the LSMinimumSystemVersion key in your Info.plist (this appears in Xcode as “Minimum system version”).
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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