美文网首页
error: include of non-modular he

error: include of non-modular he

作者: 这个汤圆没有馅 | 来源:发表于2018-06-25 17:01 被阅读0次
error
这里其实有两个error:
  • Masonary.h文件引用出错,依赖了是三方库
解决办法:
在pod lib lint 或者 pod spec lint 以及 pod repo push ....时候加上   --use-libraries

当然,在提交的时候也要加上
pod repo push <repoName> <podspec> --use-libraries
  • Enums.h文件不存在
这个原因是我在上一个版本里移动了文件路径,导致本地路径出错。这个解决方法就是删掉该文件再重新添加。

相关文章

网友评论

      本文标题:error: include of non-modular he

      本文链接:https://www.haomeiwen.com/subject/wiuyyftx.html