美文网首页
Xcode12报错:Could not find module

Xcode12报错:Could not find module

作者: 苍眸之宝宝 | 来源:发表于2020-10-30 09:44 被阅读0次

报错详细信息:

Could not find module 'SnapKit' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64

报错原因:

Xcode升级12后,项目默认不包含模拟器的类型:x86_64(64位处理器的模拟器)、 i386(32位处理器的模拟器)、

解决方法:

Xcode -》打开项目 -》选中项目的target -》Build Settings -》VALID_ARCHS -》Debug -》添加x86_64 i386 -》armv7 armv7s arm64 x86_64 i386

image.png

相关文章

网友评论

      本文标题:Xcode12报错:Could not find module

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