• 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: How to ensure minimum version requirement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to ensure minimum version requirement


  • Subject: Re: How to ensure minimum version requirement
  • From: Andre Schnoor <email@hidden>
  • Date: Thu, 08 Nov 2007 12:21:12 +0100

Citizen wrote:
On 8 Nov 2007, at 09:09, Andre Schnoor wrote:

although I digged the docs and googled a while, I could not seem to find any proposed way for determining the MacOS X version number (at runtime) from inside a Cocoa application. Maybe I missed something, but IMHO this is a very basic information that should be easily available somewhere.

http://developer.apple.com/releasenotes/Cocoa/AppKit.html

Scroll down to the section titled "Runtime Version Check". I found the value for 10.4 was not defined on my Leopard system - so I added a define of my own and used that.

Great, thanks.


Where can version information be gathered? Is there a better way to ensure that an application will refuse to run on older versions of OSX, issueing a warning to the user?

As I understand it, if you compile for say Tiger and later; your program will just not run on any previous system.


Hopefully someone will confirm this behaviour.

It's as you said: It just doesn't start. I consider this behavior very unfriendly. There should be at least a message, or a chance to open a message box before the app quits. Probably there's an entry in the system logs, but that's not sufficient. I'm having users download my demo and they get the impression that it's crap because it won't start.


Unfortunately I don't have a 10.3 or earlier system at hand, so I can't test.

Thanks again for the pointer.
Andre

_______________________________________________

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


  • Follow-Ups:
    • Re: How to ensure minimum version requirement
      • From: "Dirk Stegemann (Mailing-Lists)" <email@hidden>
References: 
 >How to ensure minimum version requirement (From: Andre Schnoor <email@hidden>)
 >Re: How to ensure minimum version requirement (From: Citizen <email@hidden>)

  • Prev by Date: Re: How to ensure minimum version requirement
  • Next by Date: Re: CALayer doesn't resize immediately
  • Previous by thread: Re: How to ensure minimum version requirement
  • Next by thread: Re: How to ensure minimum version requirement
  • Index(es):
    • Date
    • Thread