There are two solutions
1. Add the following code to your podfile and retry pod Install
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
Copy the code
2. Add the following Settings to the PODS project file
The downside of this scenario is that each time pod install or POD update is complete, this setting will reset and need to be added again