OneSignal / react-native-onesignal

React Native Library for OneSignal Push Notifications Service
Other
1.56k stars 373 forks source link

Build failing due to Undefined symbols for architecture x86_64 #1098

Closed BenjErgizerBunny closed 3 years ago

BenjErgizerBunny commented 3 years ago

Description:

I have had OneSignal installed in my react native project for over a year now. It was working perfectly two months ago, however when I tried to boot my app today, I'm getting the error listed under anything else. The only change I have made is that I updated my Apple Push Notifications service (APNs) since I last launched the app

Environment

  1. started with npm
  2. "react-native-onesignal": "^3.3.2"
  3. "react-native": 0.60.4

Steps to Reproduce Issue:

  1. install OneSignal SDK
  2. Try to boot app on iOS

Anything else:

Undefined symbols for architecture x86_64: "_OBJCCLASS$_WKWebViewConfiguration", referenced from: objc-class-ref in OneSignal(OneSignal-x86_64-master.o) "_OBJCCLASS$_WKWebView", referenced from: objc-class-ref in OneSignal(OneSignal-x86_64-master.o) "_CGAffineTransformIdentity", referenced from: ___49-[OSInAppMessageViewController animateAppearance]_block_invoke in OneSignal(OneSignal-x86_64-master.o) "_CGAffineTransformMakeScale", referenced from: -[OSInAppMessageViewController addConstraintsForMessage] in OneSignal(OneSignal-x86_64-master.o)

minhnghiadev commented 3 years ago

I have this issue too. Before, I used Xcode v11.x, it is work perfect. When I upgrade to Xcode 12.xx, I rebuild my application, it appear error in OneSignalNotificationService: "Undefined symbols for architecture arm64:..."

BenjErgizerBunny commented 3 years ago

@minhnghiadev I think my error is also due to upgrading from xCode 11.x to 12.x

Were you able to find a solution?

rgomezp commented 3 years ago

Howdy, We are investigating this issue. Thanks for your patience.

rgomezp commented 3 years ago

Howdy, Thank you for your patience. Can you either confirm or deny whether you're still seeing the issue? Cheers

rgomezp commented 3 years ago

Closing due to no response.

77TecShaeer commented 3 years ago

+++