You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time I update Flutter, I usually delete all the package cache (dart pub cache clean). This deletes the flutterfire_cli. When building the iOS app on VSCode, the error message is pretty unhelpful. The only helpful information is given by XCode when it fails the build and you click on the build logs (then you realize that the upload-crashlytics_symbols step failed because flutterfire is not available).
Suggestion:
Change the script to add a dart pub global activate flutterfire_cli on shellScript below:
If possible, make checks if firebase is authenticated as well (and, somehow, make those mistakes clearer when we issue an flutter build).
Also, this script is not compatible with CI/CD, since firebase will not be authenticated in, let's say, XCode Cloud. Maybe add a environment variable or something that ignores this script, so we can build in a cloud environment without having to delete this script?
Reasoning
Flutter often hides the true nature of a native build (in both Android and iOS). The more we can help mitigate those platform weaknesses, the better Flutter is.
Additional context and comments
No response
The text was updated successfully, but these errors were encountered:
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?
This issue will be closed in 15 days if no further activity occurs.
Is there an existing feature request for this?
Command
No response
Description
What feature would you like to see?
Every time I update Flutter, I usually delete all the package cache (
dart pub cache clean
). This deletes theflutterfire_cli
. When building the iOS app on VSCode, the error message is pretty unhelpful. The only helpful information is given by XCode when it fails the build and you click on the build logs (then you realize that the upload-crashlytics_symbols step failed becauseflutterfire
is not available).Suggestion:
Change the script to add a
dart pub global activate flutterfire_cli
onshellScript
below:If possible, make checks if firebase is authenticated as well (and, somehow, make those mistakes clearer when we issue an
flutter build
).Also, this script is not compatible with CI/CD, since firebase will not be authenticated in, let's say, XCode Cloud. Maybe add a environment variable or something that ignores this script, so we can build in a cloud environment without having to delete this script?
Reasoning
Flutter often hides the true nature of a native build (in both Android and iOS). The more we can help mitigate those platform weaknesses, the better Flutter is.
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: