This error means your Notification Service Extension target is not linked against the current Pushwoosh SDK. Since iOS SDK 7.x the SDK ships as XCFrameworks delivered by the PushwooshXCFramework pod, so the fix belongs in the Podfile rather than in manual Xcode framework linking.
1. Declare the extension target in the Podfile (your Flutter project's ios/Podfile):
target 'NotificationServiceExtension' do
use_frameworks!
use_modular_headers!
pod 'PushwooshXCFramework'
inherit! :search_paths
end
2. Reinstall the pods
flutter clean
cd ios
pod deintegrate
pod install --repo-update
3. Clean and rebuild. Open ios/Runner.xcworkspace in Xcode, run Product → Clean Build Folder, then build again.
If you link frameworks manually, check the extension target's Frameworks, Libraries, and Embedded Content list against the artifact names actually shipped today: PushwooshFramework.xcframework together with PushwooshCore.xcframework and PushwooshBridge.xcframework, plus optional subspecs such as PushwooshInApp, PushwooshNotificationUI, PushwooshLiveActivities or PushwooshInboxKit. The older Pushwoosh.framework, PushwooshAppExtension.framework and PushwooshInboxUI.framework artifacts no longer exist in current SDK versions — if your project still references them, remove those references.
Other things to check
- Keep the plugin and Xcode current. The wording "this SDK is not supported by the compiler" also appears when a prebuilt binary was produced by a newer Swift toolchain than your Xcode provides, so update Xcode before chasing framework settings.
- Make sure the extension target's minimum deployment target is not lower than the SDK's (iOS 13.0).
- The
arch -x86_64 pod installworkaround is no longer needed — CocoaPods runs natively on Apple Silicon.
Comments
0 comments
Please sign in to leave a comment.