Just noticed that Gestalt was deprecated in 10.8. This makes me sad.
-
-
@rbrockerhoff Do you have an algorithm or table? - View other replies
-
@mjtsai for all past & current, kern.version returns x.y.z and OS X version will be 10.(x-4).y. Not sure about z though. - View other replies
-
@rbrockerhoff@mjtsai@ccgus Aha: And “sw_vers -productVersion” seems to be a documented, command line means of obtaining this. -
@danielpunkass@rbrockerhoff@mjtsai@ccgus Sure, but shelling out for something like that is sloppy. -
@marczak@rbrockerhoff@mjtsai@ccgus I don’t see a non-sloppy solution here, do you? :) - View other replies
-
@danielpunkass@marczak@mjtsai@ccgus so what API does sw_vers call...? - View other replies
-
@rbrockerhoff@marczak@mjtsai@ccgus fopen :) I bet it just reads the aforementioned plist file, also cited in the man page for sw_vers.
-
-
-
@rbrockerhoff@ccgus Only if you know the mapping. It's not future-proof. -
-
@rbrockerhoff It's not documented to be so anywhere, is it? //@ccgus -
-
@rbrockerhoff Alas, I live in a world where customers want me to report OS versions. They'd die if they knew what Darwin was. //@ccgus -
-
@rbrockerhoff It's the "unknown version" part that nobody likes. Besides, we can always parse SystemVersion.plist. ;) //@ccgus
-
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.
Gus Mueller
Jonathan Grynspan
Rainer Brockerhoff
Michael Tsai
Daniel Jalkut
Edward Marczak