出现could not build module foundation错误
时间:2016-01-07 20:08:41
收藏:0
阅读:184
在预编译文件中添加若干头文件引用后,出现could not build module foundation错误
解决方案:
在引用头文件开始加入#ifdef __OBJC__ 结束时加入#endif,例如
#ifndef PureStandard_PrefixHeader_pch
#define PureStandard_PrefixHeader_pch
#ifdef __OBJC__
#import "A.h"
#import "B.h"
#endif
#endif
原文:http://www.cnblogs.com/sungk/p/5110857.html
评论(0)