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
React-native 0.60 -lPods-OneSignalNotificationExtension not found #838
Comments
Howdy, Last thing to try is pod update from your |
@rgomezp none of the above suggestions worked, using the latest release 3.4.1. Could do with some attention on this issue. Forced to remove OneSignalNotificationExtension until resolved, happy to try other suggestions/releases. |
+1 following ! |
Howdy, |
Above suggestions are not working. Already updated to latest release v3.4.1, clean derived data, clean pods and reinstall but still getting error:
Podfile.lock
UPDATE: |
Great to hear! Please comment if you are still struggling with this issue and I can reopen |
Its still issue in RN:0.60.10 with pod. |
Hi, with pod deintegrate and cleaning and DerivedData |
I have found, but I don't know why, when I don't have a "Release" configuration in my configurations list, the "archive" fail with library not found. For your informations, Dev, Preprod & Prod are based on Release. It was working without "Release" on my olders projects with onesignal
|
This not working for me
|
Having the same issue right now. |
same |
I had the same problem after upgrading react-native |
I have the same problem but none of the tips above solved my problem. I have 2 projects that are quite similar : one that works and other that does not work. In xcode build and archive steps are ok but on my CI or on my computer the command below succeeds on one project but fails on the other
If I look at the logs of the command. For the project that works I have
For the project that does not work I have
I checked the config of both projects several times and they seem to be similar. Does anyone have a clue on what can cause this ? |
After comparing my logs for the two projects I found that the one that succeeds uses the legacy build system but the other one uses the new build system. I switched the projet to legacy build system but the problem is still there. On the project that succeeds I have
and then
but on the other project after the compile I have a Ld command
I don't know what is the difference between these commands and I don't know why the sequence is not the same |
Last comment on my problem. I removed the OneSignalNotificationServiceExtension target, the related objective-c files and the reference to OneSignal in my podfile. The I've added back one signal by doing all the steps described in the doc https://documentation.onesignal.com/docs/react-native-sdk-setup After that my
the |
I have the same issue |
So... This was a really hard one to trace down, I had to recreate a new RN 064.1 project to really find the fix to my issues. I am using schemes in my projects and I was applying fixes so that it'll build properly on M1. Since the project has updated to using the new Was facing a ton of issues where the module was not found, including this one during build a release build or building to the simulator or a device Turns out the part that was screwing with my code and causing the whole issue to not work is this following section in the Podfile installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[iphonesimulator=*]"] = "arm64"
end In the end I had to only apply it to debug builds and not release builds. I'm not an iOS dev, so I don't know the intricacies on how excluding a simulator from an architecture would cause Pods to not be detected for the NSE but that was my issue. Removing the entire block was what fixed it for me. Seems like it's not needed anymore for my project at least. |
same issue! |
We tried with post_install do |installer| in podfile and OneSignalNotificationServiceExtension -> deployment Info iOS 13.0 and set in same group, we tested and succesfully build and run well. |
Description:
I've upgraded to React-native 0.60 and have followed the onesignal installation steps as shown here: https://documentation.onesignal.com/docs/react-native-sdk-setup
When I goto run the xcode application, I get an error relating to the OnesignalNotificationExtension.
Error:
ld: library not found for -lPods-OneSignalNotificationServiceExtension
The OneSignalNotificationServiceExtension target has the following settings:
"${PODS_ROOT}/Headers/Public/react-native-onesignal"
"${PODS_ROOT}/OneSignal/iOS_SDK/OneSignalSDK/Framework"
Environment
Steps to Reproduce Issue:
ld: library not found for -lPods-OneSignalNotificationServiceExtension
The text was updated successfully, but these errors were encountered: