iOS常见❎总结
-
include of non-modular header inside XXXX 或者could not build module错误
- 将导入第三方头文件的代码放入.m ,
- Allow Non-modular includes in Framework Modules 值修改为yes
- 找到第三方头文件 勾选target
- 手动在第三方库的headers文件夹中addfiles添加modules文件夹(并且在library link
headerpath 中将(SRCROOT))(最终的解决方法)
-
linker command failed with exit code 1 XXX错误
- 检查xxx库是不是没有导入一般为.a 文件
- 检查xxx文件是否存在