搜索
您的当前位置:首页正文

IOS常见错误总结

来源:二三娱乐

iOS常见❎总结

  1. include of non-modular header inside XXXX 或者could not build module错误

    1. 将导入第三方头文件的代码放入.m ,
    2. Allow Non-modular includes in Framework Modules 值修改为yes
    3. 找到第三方头文件 勾选target
    4. 手动在第三方库的headers文件夹中addfiles添加modules文件夹(并且在library link
      headerpath 中将(SRCROOT))(最终的解决方法)
  2. linker command failed with exit code 1 XXX错误

    1. 检查xxx库是不是没有导入一般为.a 文件
    2. 检查xxx文件是否存在
Top