Description
Is there an existing issue for this?
- I have searched the existing issues.
CLI Version
1.1.0
Firebase Tools version
13.34.0
Flutter Doctor Output
[✓] Flutter (Channel stable, 3.27.4, on macOS 15.3.2 24D81 darwin-arm64, locale en-US)
• Flutter version 3.27.4 on channel stable at /Users/paulwang/fvm/versions/3.27.4
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision d8a9f9a52e (9 weeks ago), 2025-01-31 16:07:18 -0500
• Engine revision 82bd5b7209
• Dart version 3.6.2
• DevTools version 2.40.3
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at /Users/paulwang/Library/Android/sdk
• Platform android-35, build-tools 35.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 21.0.4+-12422083-b607.1)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16C5032a
• 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.4+-12422083-b607.1)
[✓] VS Code (version 1.99.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.108.0
[✓] Connected device (5 available)
• Paul’s (mobile) • 00008110-001A19982138801E • ios • iOS 18.3.2 22D82
• iPhone 16 Pro Max (mobile) • E2A3A3A8-5257-4B22-B5A2-3128D990CD76 • ios • com.apple.CoreSimulator.SimRuntime.iOS-18-2 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 15.3.2 24D81 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.3.2 24D81 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 134.0.6998.167
[✓] Network resources
• All expected network resources are available.
• No issues found!
Description
After running the command flutterfire reconfigure, FlutterFire: "flutterfire upload-crashlytics-symbols" was added to Runner.xcodeproj/project.pbxproj. This caused an error when building the iOS side of the Flutter project.
Relevant error output:
ERR : The current activation of `flutterfire_cli` cannot resolve to the same set of dependencies.
|
| Try reactivating the package.
| `dart pub global activate flutterfire_cli`
FINE: Exception type: DataException
FINE: package:pub/src/utils.dart 575:36 dataError
| package:pub/src/global_packages.dart 520:13 GlobalPackages.runExecutable.<fn>
| ===== asynchronous gap ===========================
| dart:async Future.catchError
| package:pub/src/utils.dart 140:10 captureErrors.wrappedCallback
| package:stack_trace Chain.capture
| package:pub/src/utils.dart 155:11 captureErrors
| package:pub/src/command.dart 196:13 PubCommand.run
| package:args/command_runner.dart 212:27 CommandRunner.runCommand
| package:dartdev/dartdev.dart 240:30 DartdevRunner.runCommand
| package:args/command_runner.dart 122:25 CommandRunner.run.<fn>
| dart:async new Future.sync
| package:args/command_runner.dart 122:14 CommandRunner.run
| package:dartdev/dartdev.dart 47:29 runDartdev
| /Volumes/Work/s/w/ir/x/w/sdk/pkg/dartdev/bin/dartdev.dart 13:11 main
Building directly within Xcode works fine.
Removing the related lines from Runner.xcodeproj/project.pbxproj resolves the build issue.
Steps to reproduce
- Run the command flutterfire reconfigure after adding firebase_crashlytics package.
- run app in vscode on ios machine
- got output of build error of xcode
Expected behavior
The app starts normally
Screenshots
No response
Additional context and comments
No response