美文网首页
报错:include of non-modular header

报错:include of non-modular header

作者: 我一不小心就 | 来源:发表于2021-10-28 14:09 被阅读0次

Allow Non-modular Includes in Framework Modules only work in objc code. not work in swift.
After a period of research, I found that swift can pass warning parameter to clang, so set OTHER_SWIFT_FLAGS to -Xcc -Wno-error=non-modular-include-in-framework-module inhibit swift import error.(也可参考https://www.jianshu.com/p/f5620c85f881

相关文章

网友评论

      本文标题:报错:include of non-modular header

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