This error occurs because the Pushwoosh iOS framework is not linked to your Notification Service Extension target — only to your main app target. The extension is a separate binary and needs its own pod dependency.
The pod name matters. The Pushwoosh React Native plugin depends on the pod PushwooshXCFramework. PushwooshFramework is the name of the module you import from inside that XCFramework — it is not a pod name, so pod 'PushwooshFramework' will never resolve.
To fix it:
-
Add the pod to the extension target in your
ios/Podfile, alongside your app target:target 'YourNotificationServiceExtension' do pod 'PushwooshXCFramework' end
Pin the same version the plugin uses so CocoaPods does not resolve two copies of the framework. - Verify the main integration is complete, per the official guide:
- Verify the extension setup, including the extension target's own build settings:
-
Clean and rebuild:
- Clean the Xcode build folder (Product > Clean Build Folder).
- In your
iosdirectory runpod install(orpod update). - Rebuild in Xcode.
-
Check the import and the deployment target: in the extension source use
import PushwooshFramework(Swift) or#import <PushwooshFramework/PushwooshFramework.h>(Objective-C), and make sure the extension's iOS Deployment Target is not lower than the framework minimum (iOS 13.0).
Note: the plugin's bundled example app does not contain a Notification Service Extension target, so it cannot be used as a reference for this specific step — follow the extension guide above instead.
Comments
0 comments
Please sign in to leave a comment.