70
To fix this error you need to edit your Podfile.
Add the following in the end of your Podfile
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64 i386"
end
end
end
Then run “pod install” in the terminal and you are good to go. It will run perfectly in your simulator even if you do have an Apple Silicon.
You may also have to set both Excluded Architectures in Runner and OneSignalNotificationExtension with: arm64, i386