0

我在BaseModel中继承了jsonModel,然后再pod spec也添加了dependency,为什么还会报错

- ERROR | xcodebuild:  /Users/xinhuikeji/Library/Developer/Xcode/DerivedData/App-cpgccqdjhyrbqwcpjanyefntolkf/Build/Products/Release-iphonesimulator/wLib/wLib.framework/Headers/BaseModel.h:13:9: error: include of non-modular header inside framework module 'wLib.BaseModel' [-Werror,-Wnon-modular-include-in-framework-module]
1 个回答
0

已采纳

加参数:--use-libraries

$ pod lib lint xxx.podspec --use-libraries

$ pod trunk push --use-libraries

撰写答案

推广链接