Open
Description
Is there an existing issue for this?
- I have searched the existing issues.
It is similar to this issue, but for macO,S not iOS
#371
I need a similar fix but for macOS
#367
CLI Version
1.2.0
Firebase Tools version
13.29.1
Flutter Doctor Output
Toggle me!
[✓] Flutter (Channel stable, 3.29.3, on macOS 15.3.1 24D70 darwin-x64, locale en-EG) [784ms]
• Flutter version 3.29.3 on channel stable at /Users/amr/fvm/versions/stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ea121f8859 (12 days ago), 2025-04-11 19:10:07 +0000
• Engine revision cf56914b32
• Dart version 3.7.2
• DevTools version 2.42.3
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1) [10.6s]
• Android SDK at /Users/amr/Desktop/private/programming/sdks/Android/sdk
• Platform android-35, build-tools 35.0.1
• ANDROID_HOME = /Users/amr/Desktop/private/programming/sdks/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.6+-13355223-b631.42)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.3) [2.1s]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16E140
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [39ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.3) [38ms]
• 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.6+-13355223-b631.42)
[✓] VS Code (version 1.99.3) [32ms]
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.108.0
[✓] VS Code (version 1.100.0-insider) [32ms]
• VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
• Flutter extension version 3.109.20250401
[✓] Connected device (2 available) [7.5s]
• macOS (desktop) • macos • darwin-x64 • macOS 15.3.1 24D70 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 135.0.7049.96
[✓] Network resources [1,010ms]
• All expected network resources are available.
• No issues found!
Description
The Flutterfire CLI script to upload the dsym for macOS is not working with SPM
Unhandled exception:
ProcessException: No such file or directory
Command: /Users/amr/Desktop/private/programming/amr/sources/mobile-app/build/macos/Build/Products/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run --validate --flutter-project /Users/amr/Desktop/private/programming/ment/sources/mobile-app/.dart_tool/flutterfire/platforms/macos/targets/Runner/ment-sit/app_id_file.json
#0 _ProcessImpl._start (dart:io-patch/process_patch.dart:422:33)
#1 Process.start (dart:io-patch/process_patch.dart:42:20)
#2 _runNonInteractiveProcess (dart:io-patch/process_patch.dart:626:18)
#3 Process.run (dart:io-patch/process_patch.dart:56:12)
#4 UploadCrashlyticsSymbols.run (package:flutterfire_cli/src/commands/upload_symbols.dart:368:44)
<asynchronous suspension>
#5 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#6 main (file:///Users/amr/.pub-cache/hosted/pub.dev/flutterfire_cli-1.2.0/bin/flutterfire.dart:63:5)
flutterfire.dart:63
<asynchronous suspension>
Command PhaseScriptExecution failed with a nonzero exit code
warning: Run script build phase 'FlutterFire: "flutterfire upload-crashlytics-symbols"' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
warning: Run script build phase 'Copy GoogleServices-Info.plist to the correct location' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
** BUILD FAILED **
Error: Build process failed
Steps to reproduce
- Run flutterfire cli on a Flutter project with macOS
- Enable SPM for that project
- Add Crashlytics
- Build the project
Expected behavior
No crash
Screenshots
No response
Additional context and comments
No response