문제

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/

도움이 되었습니까?

해결책

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 :/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top