Xcode 找不到目标“x86_64-apple-ios-simulator”的模块“xxxxx”;找到:arm64-apple-ios-simulator,

And*_*ndy 6 xcode ios swift swift-package-manager

我有一台 M1 pro mac,没有安装 Rosetta,我有一个连接了许多 Pod 的大项目。用于调试的项目有“EXCLUDED_ARCHS[sdk=iphonesimulator*] = arm64”,并且在模拟器上一切正常。

当我连接自定义 Swift 包且仅适用于模拟器时,会出现该错误。在设备上,没有错误,一切正常。

我查了很多无奈的文章。也许你可以指导我解决这个问题?