Description
Is there an existing issue for this?
- I have searched the existing issues.
CLI Version
1.0.1
Firebase Tools version
13.29.1
Flutter Doctor Output
[✓] Flutter (Channel stable, 3.27.1, on macOS 14.6.1 23G93 darwin-arm64, locale de-DE)
• Flutter version 3.27.1 on channel stable at /Users/foo/fvm/versions/stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 17025dd882 (5 weeks ago), 2024-12-17 03:23:09 +0900
• Engine revision cb4b5fff73
• Dart version 3.6.0
• DevTools version 2.40.2
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at /Users/jonasschlauch/Library/Android/sdk
• Platform android-35, build-tools 35.0.0
• Java binary at: /opt/homebrew/Cellar/openjdk@17/17.0.13/libexec/openjdk.jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment Homebrew (build 17.0.13+0)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
• Xcode at /Applications/Xcode-15.4.app/Contents/Developer
• Build 15F31d
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.2)
• 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 21.0.3+-79915917-b509.11)
[✓] VS Code (version 1.96.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.102.0
[✓] Connected device (4 available)
• iPhone 15 (mobile) • 5AD740A0-D613-4D18-ADAC-E1357081A248 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 14.6.1 23G93 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.6.1 23G93 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.266
[✓] Network resources
• All expected network resources are available.
• No issues found!
Description
When running my flutter app with flavors on iOS i get the following output:
FlutterAppRequiredException: The current directory does not appear to be a Flutter application project.
Unhandled exception:
type 'Null' is not a subtype of type 'String' in type cast
#0 UploadCrashlyticsSymbols.envBuildProductsDir (package:flutterfire_cli/src/commands/upload_symbols.dart:171:50)
#1 UploadCrashlyticsSymbols.run (package:flutterfire_cli/src/commands/upload_symbols.dart:354:7)
<asynchronous suspension>
#2 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#3 main (file:///Users/foo/.pub-cache/hosted/pub.dev/flutterfire_cli-1.0.1/bin/flutterfire.dart:63:5)
<asynchronous suspension>
Command PhaseScriptExecution failed with a nonzero exit code
Steps to reproduce
- flutter run
Expected behavior
The app should build.
Screenshots
No response
Additional context and comments
The app does build with flutterfire_cli
0.3.0-dev.18 but not with >=0.3.0-dev.19