On 10/18/2011 12:33 PM, Nick Zitzmann wrote:
On Oct 18, 2011, at 12:37 PM, livinginlosange...@mac.com wrote:
What is the canonical method of alerting a user that an application is built
for a newer version of OSX?
You need to set the LSMinimumSystemVersion or
LSMinimumSystemVersionByArchitecture keys in your application's info.plist
file. The former will block the app from running on any older version of the
OS[1]. The latter is used to prevent certain architectures from being launched
under certain versions of the OS, and is typically used to lock the 64-bit
version of any app from running under Leopard[2].
If the key is set, and a user tries to run it under an unsupported OS, then
they'll get an error message saying the app requires a newer OS version, except
under Panther, where the error message won't appear due to a bug that was fixed
in Tiger.
[1] except under Cheetah and Puma, where the key-value is ignored, but nobody
uses Cheetah or Puma anymore
[2] since Leopard's 64-bit frameworks were very immature
If one does need to do something nice with Panther, there's this:
<http://homepage.mac.com/chris_campbell/blog/SystemVersionCheck-1.1.html>
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com