Xcode版本升级至12.0.1之后的踩坑记录

2020-10-10  本文已影响0人  Smalla

1、选择模拟器运行,编译之后报错:
Could not find module 'xxxxx' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64
解决方案:进入项目设置->Targets->Build Setting,搜索VALID_ARCHS,在debug模式下新增:x86_64,即:

image.png
上一篇下一篇

猜你喜欢

热点阅读