-
Notifications
You must be signed in to change notification settings - Fork 264
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]: Crash on startup for Library not loaded: @rpath/OneSignalCore.framework/OneSignalCore #1227
Comments
my pod
|
Hello thank you for reaching out. We have seen this error in some of our wrapper SDKs maybe those threads will help. Make sure you are using Cocoapods 1.11.3 and try the below code after update. We have seen this issue when using versions lower than 1.11.3.
|
The same issue when run project from xcode: Out project is based on cordova with onesignal-cordova-plugin 3.3.0 :
Podfile:
Podfile.lock:
System:
Steps to reproduce:
Any hints are welcome! Thank you! |
I have downgraded to [email protected] with 'OneSignalXCFramework', '3.11.2' and it solved the problem. So the problem is between 3.11.2 and 3.12.3 versions of OneSignalXCFramework. |
Hi @anatoly-spb,
I suspect the Can you confirm, or make sure xcode is indeed using |
If xcode uses user's profile, so it must be ruby 3.2.1. Could you please point me how to check it? Another question is how do you explain that downgrade to previous version solve this problem? It seems to me something wrong is between 3.11 and 3.12 versions. |
@anatoly-spb We have not been able to reproduce the issue going between 3.11 -> 3.12 with Ruby 3.2.1, but I noticed that a Cocoapods update was released and it explicitly requires a higher Ruby version. You could try updating Cocoapods. |
@anatoly-spb @peterpaulis @nan-li @emawby Copy all the folder under OneSingalXCFramework and paste it Debug-iPhoneSimulator What I believe it is releated to Cocoapod version or may be not. I Faced the same issue on other project on our Company own framework while one of the other colleague was not facing such issue. |
@KhurramIqbal87 Ah good find that is good to know! Have you tested on the 1.12.+ version of Cocoapods? Cocoapods had not released an update for almost a year but finally did and should have better support for the latest Xcode version. |
SAME ISSUE WITH SPM |
@ahmedsafadii Hello do you have an example project with SPM that can reproduce this issue? I have not been able to reproduce this issue using SPM. Which Xcode version are you using? |
Version 14.2 (14C18) |
same |
Hi, we have had no further reports of this. Please upgrade the OneSignal SDK if you or anyone is still having this issue. If this is still an issue, please open a new report with updated information. |
What happened?
updated pods, the app crashes during launch on
Library not loaded: @rpath/OneSignalCore.framework/OneSignalCore
tried Clean and
Steps to reproduce?
What did you expect to happen?
OneSignal iOS SDK version
OneSignalXCFramework 3.12.3
iOS version
15
Specific iOS version
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: