Framework not found Pods_OneSignalNotificationServiceExtension

by Apostolis Chalkias
73 views

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

Related Articles

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Privacy & Cookies Policy