在iOS中导入C++或者C的库时,在pch导入会报错(NSObjCRuntime, NSZone),解决方法: #ifdef __OBJC__ #import <UIKit/UIKit.h> #endif