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)
网友评论