ios – Parse Issues in NSObjCRuntime, NSZone, and NSObject

I had the same issue on my project when I was trying to mix C code (.h and .c) with Objective-C code. Found the reason of the issue:

Check your .pch file to make sure every Objective-C framework #import (such as #import <UIKit/UIKit.h>) is enclosed in:

#ifdef __OBJC__

#endif

If they’re outside of this conditional scope, the compiler will try to import Objective-C frameworks into C source code.

Hope that helps.

Leave a Comment