报错:include of non-modular header

2021-10-28  本文已影响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

上一篇 下一篇

猜你喜欢

热点阅读