-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Error: Multiple Commands Produce When Archiving Build After Adding Notification Service Extension Target #16818
Comments
Hi @Shatha-Naami, try running the commands below to see if it resolves your issue. flutter clean
cd ios
pod deintegrate
pod install |
Hi @SelaseKay, I tried your solution but still failed. Also, I have already tried other solutions and followed the steps provided, but unfortunately, it still hasn't worked. |
It appears the error message has changed. Can you try this: cd ios
xcodebuild clean
xcodebuild build |
same error.. @SelaseKay |
i have the same problem with notification service target |
Fyi. I had the same issue, but it was resolved after I added pod 'GoogleUtilities' to the Podfile for both the Runner target and my notification service extension. However, I’m not entirely sure if that is the right approach.
|
Hi @Shatha-Naami, could you try @krokyze solution and provide feedback? |
Is there an existing issue for this?
Which plugins are affected?
Messaging
Which platforms are affected?
No response
Description
Steps to reproduce
I followed the steps in the Firebase documentation: [Display Images in Notifications on iOS].
I ran the app on the simulator, and everything worked correctly, including receiving notifications with images.
However, when I tried to archive the build to create an IPA, the process failed, returning the following error:
Error:
I did not modify any code related to the iOS configuration after adding the Notification Service Extension.
Expected results
Successfully archive the iOS build and generate the IPA file without encountering any errors.
Actual results
Archiving fails with the following errors:
Encountered error while archiving for the device.
Code sample
Code sample
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
Reproducing the issue
Screenshots or Video
Screenshots / Video demonstration
Firebase Core version
3.7.0
Flutter Version
3.22.2
Relevant Log Output
No response
Flutter dependencies
Expand
Flutter dependencies
snippetReplace this line with the contents of your `flutter pub deps -- --style=compact`.
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: