BACK TO BLOG
Bugs & Fixes

Framework not found Pods_OneSignalNotificationServiceExtension

ArtiveLabAuthor
| May 29, 2022 1 views
Framework not found Pods_OneSignalNotificationServiceExtension
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

ArtiveLab

Author

The ArtiveLab team creates content about web development, design, and technology.

Sign in