Seriously? There is no non-deprecated way in 10.8 to figure out what version of Mac OS X you're on? Parse the SystemVersion.plist is it???
-
-
@rbrockerhoff@mjtsai how does sysctl help? It will tell you the kernel release, which you can map (existing numbers) to a system release. -
@peternlewis@mjtsai so, you just compute the system version from the kernel release version, right? -
@rbrockerhoff@mjtsai yes, you can do that (for existing versions, not for future versions). So you can say "I require 10.8" using that. -
@peternlewis@mjtsai given that the current mapping works from 10.1 to 10.8, it should work for 10.9+. Not sure what they'll do on 11.x :-)
-
-
@rbrockerhoff Does that actually get you the marketing number somehow?
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Michael Tsai
Rainer Brockerhoff