美文网首页
iOS开发Could not find module 'xxx'

iOS开发Could not find module 'xxx'

作者: 不疯魔难以成佛 | 来源:发表于2021-04-30 08:30 被阅读0次

最近在使用pod集成的时候,在用模拟器的时候导入pod的库都报错  Could not find module 'SnapKit' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64

没有发现模拟器模块,在真机没问题。

解决办法:xcode里面的build setting里面的VALID_ARCHS选项,设置他的值为arm64 arm64e x86_64

记录一下!

相关文章

网友评论

      本文标题:iOS开发Could not find module 'xxx'

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