-
Notifications
You must be signed in to change notification settings - Fork 49
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
[bug]: Running flutterfire configure
changes values in project.pbxproj
each time
#272
Comments
Yes, that's because we rewrite that script each time. We do it because we want to be sure that if there are any updates to that script (i.e changes to the flutterfire upload symbol function call), it will defacto update it. |
Ok, but it's very annoying that it changes the content without actually having any difference in the upload symbols script. If you re-write the script each time, can you first check the current script contents and only update if there is a difference. Else, anytime I run that script (changing from dev to prod to staging, etc.), I manually have to check if there is any difference in the script. If there is I have to commit those changes or else discard if they are same. Because I cannot always add those changes into commit unnecessarily. |
Hi have a similar problem. I run flutterfire configure on our build server to load the production firebase details but it doesn't do it correctly on the Android side and adds in duplicate plugin entries for 'com.google.gms.google-services' causing my project to fail in the build set with the error message "Plugin with id 'com.google.gms.google-services' was already requested at line 4". I think if you are going to rewrite entries at least rewrite it in an idempotent manner? |
This is what it generates on the second run:
|
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
@russellwheatley any updates on this? It's still present in the latest version and gets super annoying to revert those specific lines each time configure command is ran. |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
Is there an existing issue for this?
CLI Version
0.3.0-dev.21
Firebase Tools version
13.6.0
Flutter Doctor Output
Description
Each time the
flutterfire configure
command is ran forios
platform, theupload-crashlytics-symbols
and script changes in theios/Runner.xcodeproj/project.pbxproj
file.Steps to reproduce
flutterfire configure --project={{project_name}} --platforms="ios" -y;
commandios/Runner.xcodeproj/project.pbxproj
file.Expected behavior
The script should change the values in
ios/Runner.xcodeproj/project.pbxproj
file each time the command is ran.Screenshots
No response
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: