在我的 Xcode 12.4 中,我不能再构建我的项目了。每次我这样做时,我都会为每个 Pod 得到“没有这样的模块......”。我没有对项目进行任何其他更改。我已清理、删除派生数据、重新启动计算机、删除并重新安装 Pod、更新 Cocoapod、在排除架构中添加 arm64 等。
我可以在我的设备上运行,但不能在模拟器上运行
其他人遇到过这个问题吗?
最佳答案
将此添加到 podfile 对我有帮助
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
关于ios - Xcode 12.4 Apple M1 中没有此类模块错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66948010/