Closed pnogier closed 3 years ago
Well, I guess I found why this happened :
Each time I run a pod install
, it automatically add the libPods-OneSignalNotificationServiceExtension.a
under Framework and Libraries in my OneSignalNotificationServiceExtension
Target. I juts had to remove it manually and everything builds properly now.
However I now have to find why this library automatically adds itself and fix it. 🤗
Closing for now.
Well, I guess I found why this happened :
Each time I run a
pod install
, it automatically add thelibPods-OneSignalNotificationServiceExtension.a
under Framework and Libraries in myOneSignalNotificationServiceExtension
Target. I juts had to remove it manually and everything builds properly now.However I now have to find why this library automatically adds itself and fix it. 🤗
Closing for now.
Do you have news about that? I have the same issue.
In my case, I fixed when I set the same version on Podfileplatform :ios, '11.0'
that on Target in OneSignal notification and Project.
Hi @MathiasMoralesDixtra, Thank you for the suggestion, I'll give it a try soon :)
You need to check the platform version in your Podfile and make it match your main target deployment info and one signal target
I accidentally opened .xcodeproject file instead of .xcworkspace and the same error appeared. Got me 30 minutes to figure out to open the correct file.
Hi there,
I just upgraded to Xcode 12.5, Upgraded react-native from 0.62.2 to 0.64.1, Upgraded react-native-onesignal from 3.9.0 to 4.1.0
Now when I try to build my app, I get the following error :
ld: library not found for -lPods-OneSignalNotificationServiceExtension
None on the solutions listed in #1179 or #1103 solved my issue.
Here is my Podfile
Did some of you already faced this issue and find a solution ?
Thank you,
Cheers