美文网首页
Include of non-modular header in

Include of non-modular header in

作者: 叫我魏大川 | 来源:发表于2022-03-08 19:23 被阅读0次

当我在私有pod库的制作中引用了第三方的库,在包含第三方头文件时会报这个错。

解决方案有两个:
1:可以在.m文件中包含需要的三方库头文件。
2:必须要在.h中包含的,可以使用 @import 库名; 的方式引用库,而不是直接引用头文件。

相关文章

网友评论

      本文标题:Include of non-modular header in

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