Question

I have MacOS 10.8.5 and Xcode 5 but I can't find anywhere a NSFoundationVersionNumber higher than NSFoundationVersionNumber10_7_4 (this is the highest value defined in NSObjCRuntime.h). Is there something wrong in my installation?

I have to say that MacOSX10.8.sdk is the only sdk in my /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/

Was it helpful?

Solution

simply NSLog out NSFoundationVersionNumber and you will get the version number for the OS you are currently running. apple have forgot to provide NSFoundationVersionNumber constants for both iOS 7, 10.8 and 10.9 :/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top