-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Library not loaded: @rpath/OneSignalCore.framework/OneSignalCore #1459
Comments
Having the same problem. Even when I have done a
|
Hello, @ElChawich & @ymc-thzi If you are still having issues please share the version of |
Hello @fhboswell, |
Thank you for the information @ElChawich, |
Same error! |
@ElChawich thanks for answering. So I executed |
Make sure you are using Cocoapods 1.11.3 and try the below code. We have seen this issue when using versions lower than 1.11.3
|
hello @fhboswell and @emawby, |
Hi all, |
having the same problem. cannot resolve it |
in my case i removed "open using Rosetta" and followed the first answer on this stack https://stackoverflow.com/questions/69098207/could-not-find-ffi-1-3-0-among-85-total-gems-gemmissingspecerror-re , this solves ffi issues on my M1, try this , this may help. |
Same issue. Downgrading to 4.4.1 solved my problem. |
After hours of effort, I reached the following conclusion and successfully ran the application. If you are using XCode 14 and higher: Go to Project --> Targets --> [Application Name] --> Frameworks, Libraries, and Embedded Content section. Cean build folder and build. I'm putting a screenshot below. |
@cenksari Thanks it worked for me. I was having this issue when upgraded react-native-onesignal to 4.5.0 |
@cenksari This definitely fixed my issue! Thanks a lot! |
@cenksari This works perfectly with me, Many thanks. |
@cenksari podfiletarget 'OneSignalNotificationServiceExtension' do Podfile.lock
Error says this any idea how to fix this/any one experienced this issue ?Multiple commands produce '/Users/PC/Library/Developer/Xcode/DerivedData/Beach_Runners-byldswpvmwonzqheuuipyzwfvqba/Build/Intermediates.noindex/ArchiveIntermediates/Truckerbux/InstallationBuildProductsLocation/Applications/Beach Runners.app/Frameworks/OneSignalCore.framework':
|
Hey @janandaraj I am facing same error, have you fixed it? |
@muxbert Hi i just removed OneSignalCore and OneSignalOutcomes from frameworks and did exactly in the documentation now it works but still i'm facing some missing push notification on iPhone device(on OneSignal Site it says delivered), android works fine |
I also have the exact same issue as @janandaraj including the build error that multiple commands produce "..." Disappointing that more recent versions of OneSignal are not playing nice with the iOS/Xcode ecosystem. |
I just hit this - it would be nice if versions like this would be marked as breaking changes (major version updates) in the future. |
I am also getting this issue with XCode 14 with I tried solution mentioned above #1459 (comment) but it doesn't work for me unfortunately.
|
When I build app using Xcode it crashes after launch - embeding |
If anyone is still facing this issue in Flutter or React Native, It is much similar to the above solution but if you have not create the Notification service extension then you should do that first which is explained on above link |
for anyone facing same problem, try to remove at the Build Phases -> Link Binary With Libraries and left PodsRunner only |
upgrading ruby and cocoapods as well as using |
@daoibrahim what arch are you on? Intel or M1? |
As of today this isn't part of the install documentation, However, it worked for me. Spent hours on this. |
Still facing this issue using All of the suggestions in this thread didn't work for me. My environment: Downgrading to |
This helped fixing my problem, where I faced two problems when I added the |
Under Targets, click your app name. Include OneSignalExtension.xcframework in Framework, Library and Embedded Content. |
Hello everyone! The discussion in this thread with solutions has been great--thank you to all who contributed! As it appears that these solutions have addressed the problem for many folks here, I'll go ahead and close this issue. If anyone is still facing this on at least React Native 4.5.2 or 5.0.5 please @ mention me with an updated summary of what you're seeing and we'll be happy to put fresh eyes on it. Thanks! |
What happened?
After updating to version 4.5.0 the app builds successfully. But after the app tries to open, it crashes immediately giving this error:
Also when running npx pod-install i get this in the logs but it proceeds to install successfully:
Steps to reproduce?
What did you expect to happen?
for the app to open and work normally
React Native OneSignal SDK version
4.5.0
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: