OneSignal / react-native-onesignal

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

[question]: OnesignalNotificationServiceExtension Build Error #1644

Open purefml opened 5 months ago

purefml commented 5 months ago

How can we help?

Screenshot 2024-02-06 at 2 54 40 PM

I need help regarding One signal notifaction service extension causing issues when, Archiving and Building my app.

ld: library not found for -ld_classic clang: error: linker command failed with exit code 1 (use -v to see invocation)

Xcode: 14.2 "react-native": "0.72.5", "react-native-onesignal": "^5.0.3",

Code of Conduct

hibittushah commented 5 months ago

+1

hibittushah commented 5 months ago

@purefml any solution for this ?

purefml commented 5 months ago

@purefml any solution for this ?

The problem was the version of my Xcode which was 14.2, I've updated my xcode to 15 which fixed the issue. I supposed this is an error due to the new OS version available for ios (17) and is only supported in xcode <= 15

edit: also updated my Mac OS version to the latest one (Sonoma)