How to fix “Use of undeclared identifier NSFoundationVersionNumber_iOS_6_1” error in Xcode 5

This can happen when you try to run code built for iOS 7 Base SDK on Xcode 4.x, or if you compile against an older Base SDK in Xcode 5.

The solution is to define what isn’t defined manually using a Macro. Add this to every class that’s complaining and you should be fine:

This content is for members only.



Leave a Reply