This error usually indicates that not all required Pushwoosh SDK components (frameworks) are correctly linked to your Notification Service Extension target in Xcode. This can happen after updating the Pushwoosh plugin or Xcode.
To resolve this:
1. Open your iOS project in Xcode by navigating to the ios folder in your Flutter project and opening the .xcworkspace file.
2. In the Project Navigator (left sidebar), select your project.
3. From the list of targets, select your Notification Service Extension target (e.g., PushwooshNotificationServiceExtension or a similar name).
4. Go to the "General" tab for this target.
5. Scroll down to the "Frameworks, Libraries, and Embedded Content" section (or "Frameworks and Libraries" in older Xcode versions).
6. Ensure the following Pushwoosh frameworks are listed and correctly configured (e.g., "Embed & Sign"): * Pushwoosh.framework * PushwooshAppExtension.framework * PushwooshInboxUI.framework (if you are using the Inbox UI feature)
7. If any of these frameworks are missing, click the "+" button under the list and add them. They are typically found within your project's Pods directory (e.g., under Pods/Pushwoosh/Frameworks or a similar path depending on your CocoaPods setup).
8. After making changes, clean your build folder in Xcode: Product > Clean Build Folder.
9. Try building your app again.
Additional troubleshooting steps: * Run flutter clean in your Flutter project's root directory. * In your ios directory, run pod deintegrate and then pod install --repo-update (or arch -x86_64 pod install --repo-update if you are on an Apple Silicon Mac and encounter issues with CocoaPods).
Comments
0 comments
Please sign in to leave a comment.