背景:运行很久之前的项目报错。
Could not build module 'UIKit'
Could not build module Framework
Unknown type name 'XXX'
解决方法:
建议在头文件上
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import XXX.h
#endif
背景:运行很久之前的项目报错。
Could not build module 'UIKit'
Could not build module Framework
Unknown type name 'XXX'
解决方法:
建议在头文件上
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import XXX.h
#endif