Xcode突然出现could not build module
2019-09-23 本文已影响0人
小六玩的并不六
解决方案:
在引用头文件开始加入#ifdef __OBJC__ 结束时加入#endif,例如
#ifndef PureStandard_PrefixHeader_pch
#define PureStandard_PrefixHeader_pch
#ifdef __OBJC__
#import "A.h"
#import "B.h"
#endif
#endif