Could not find module 'xxx' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator
2.为了解决上述问题,你可能会在
Podfile
配置排除模拟器的
arm64
运行。
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
导致模拟器运行的时候各种异常,Xcode 控制台警告:
Warning: Error creating LLDB target at path '/Users/xx/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/XXX.app'- using an empty LLDB target which can cause slow memory reads from remote devices.