Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining OS version



This is very fishy.  I would avoid reading this file if you can.
Ali



Begin forwarded message:

From: John Stiles <email@hidden>
Date: October 18, 2005 11:08:27 PDT
To: "Paul J. Lucas" <email@hidden>
Cc: email@hidden
Subject: Re: Determining OS version

On Oct 18, 2005, at 11:01 AM, Paul J. Lucas wrote:

On Tue, 18 Oct 2005, Nick Zitzmann wrote:


On Oct 18, 2005, at 10:27 AM, Paul J. Lucas wrote:


   But NSAppKitVersionNumber doesn't seem (at least not according
   to the developer documentation I have) to go to 10.3.9.  I have
   to ensure my app is running on 10.3.9 or later (because there
   were specific fixes in 10.3.9).


Try using Gestalt() then to get the system version. You can search the list
archives for details.



Actually, the Gestalt documentation specifically says to use the /System/Library/CoreServices/SystemVersion.plist file.


Wow, I never would have believed it, but it does say that.
For years, the opposite was true--Gestalt was recommended above using the SystemVersion plist. I thought older versions of OS X Server lacked that file entirely (but our 10.4.2 Server has it).
I am going to ask in CarbonDev why this recommendation was made._______________________________________________


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Determining OS version (From: Jerry Krinock <email@hidden>)
 >Re: Determining OS version (From: "Paul J. Lucas" <email@hidden>)
 >Re: Determining OS version (From: Nick Zitzmann <email@hidden>)
 >Re: Determining OS version (From: "Paul J. Lucas" <email@hidden>)
 >Re: Determining OS version (From: John Stiles <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.