flutterfire_cli
flutterfire_cli copied to clipboard
[bug]: Invalid argument(s): Option macos-bundle-id is mandatory
Is there an existing issue for this?
- [X] I have searched the existing issues.
CLI Version
0.3.0-dev.18
Firebase Tools version
latest
Flutter Doctor Output
[✓] Flutter (Channel stable, 3.16.0, on macOS 13.5.2 22G91 darwin-arm64, locale en-EG) • Flutter version 3.16.0 on channel stable at /Users/bx777/.puro/envs/stable/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision db7ef5bf9f (4 days ago), 2023-11-15 11:25:44 -0800 • Engine revision 74d16627b9 • Dart version 3.2.0 • DevTools version 2.28.2
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at /Users/bx777/Library/Android/sdk • Platform android-33, build-tools 33.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15A240d • CocoaPods version 1.13.0
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[✓] VS Code (version 1.84.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.76.0
[✓] Connected device (3 available) • iPhone 14 Pro Max (mobile) • 8F0DE058-66D7-4970-8C9D-DD01B3953F4B • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 13.5.2 22G91 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 119.0.6045.159
[✓] Network resources • All expected network resources are available.
• No issues found!
Description
I want to generate android/iOS only without macOS/web but it throws an exception.
Steps to reproduce
Try running the following command on Github Action CI:
flutterfire config --token "$FIREBASE_TOKEN" \
--project=xxx-development \
--platforms=android,ios \
--out=lib/firebase_options_dev.dart \
--android-package-name=net.xxx.dev \
--ios-bundle-id=net.xxx.dev \
--android-out=/android/app/src/dev/ \
--ios-build-config=Debug-dev \
--ios-out=ios/config/dev/ \
--overwrite-firebase-options \
--yes
Expected behavior
I expect it to ignore macOS/web.
Screenshots
and If I added the macos-bundle-id, web-app-id would break too:
Additional context and comments
No response