OneSignal / OneSignal-Cordova-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Ionic, PhoneGap CLI, PhoneGap Build, Cordova, or Sencha Touch app with OneSignal. Supports Android, iOS, and Amazon's Fire OS platforms. https://onesignal.com
Other
251 stars 198 forks source link

[Bug]: ITMS-90863: Apple silicon Macs support issue - The app links with libraries that are not present on Mac #830

Open misog opened 1 year ago

misog commented 1 year ago

What happened?

App crashes on iOS emulator and iOS device on runtime. When submitted to TestFlight, Apple sends this email:

 ITMS-90863: Apple silicon Macs support issue - The app links with libraries that are not present on Mac:

    @rpath/OneSignalCore.framework/OneSignalCore
    @rpath/OneSignalOutcomes.framework/OneSignalOutcomes

In Xcode it prints out when running simulator:

dyld: Library not loaded

Steps to reproduce?

1. Install version 3.3.0
2. Create Xcode project
3. Build app and run in simulator or on device
4. App crashes

What did you expect to happen?

I expect the app not to crash.

OneSignal Cordova SDK version

3.3.0

Which platform(s) are affected?

Relevant log output

No response

Code of Conduct

misog commented 1 year ago

It works with version 3.2.0.

phiasco12 commented 1 year ago

Same issue here

estebancastrosola commented 1 year ago

Same issue here but a little bit diferent with 3.3.0:

Library not loaded: @rpath/OneSignalCore.framework/OneSignalCore

Works fine with 3.2.0.