Get readable crash reports in the Crashlytics dashboard (Flutter)
Stay organized with collections
Save and categorize content based on your preferences.
By default, Firebase Crashlytics automatically instruments your Flutter
project to upload the necessary symbol files that ensure crash reports are
deobfuscated and human readable.
Unfortunately, there are cases that can result in the project not being fully
configured. This guide outlines what the automation does and provides first
steps to debug your project setup.
Apple platforms
Check your configuration for uploading dSYM files
Adding the Crashlytics Flutter plugin and running the
flutterfire configure command will attempt to add a run script to your
project’s Xcode workspace that finds and uploads the necessary dSYM symbol files
to Crashlytics. Without these files, you'll see a "Missing dSYM" alert in
the Crashlytics dashboard and exceptions will be held by the backend until
the missing files are uploaded.
If you have this issue, first make sure that you have the run script installed:
Locate and open the Xcode workspace file in your project's iOS directory
(FLUTTER_PROJECT_NAME/ios/Runner.xcworkspace).
Identify whether a run script titled
[firebase_crashlytics] Crashlytics Upload Symbols has been added to the
Runner target's Build Phases.
Run script for auto-upload of dSYMs does not exist
If this run script does not exist, you can add it manually:
Locate the Firebase App ID for your Apple app. Here are two different places
where you can find this ID:
In the Firebase console, go to your
settings > Project settings.
Go to the Your apps card, then click your
Firebase Apple App to view the app's information, including its App ID.
In your Flutter project's top-level directory, find your
firebase_options.dart file. The Firebase App ID for your Apple app is
labeled as appId.
Click add >
New Run Script Phase.
Make sure this new Run Script phase is your project's last build
phase. Otherwise, Crashlytics can't properly process dSYMs.
Expand the new Run Script section.
In the script field (located under the Shell label), add the
following run scripts.
These scripts process your dSYM files and upload the files to
Crashlytics.
Understand why the locations of these files are
needed
Xcode looks in the specified locations for these input files to ensure
that the build files are available for the run script. Also, if
User Script Sandboxing is enabled, Xcode only allows the run
script to access files specified in the Input Files.
Providing the location of your project's dSYM files enables
Crashlytics to process dSYMs.
Providing the location of your app's built
GoogleService-Info.plist
file enables Crashlytics to associate the dSYMs with your
Firebase app.
Providing the location of your app's executable allows the run
script to prevent duplicate uploads of the same dSYM. Note that app
binaries are not uploaded.
Run script for auto-upload of dSYMs exists
If the run script does exist, refer to the
Apple-specific guide for troubleshooting dSYM issues.
You'll need to take the following additional steps if you choose to upload your
dSYM files via the described process:
Locate the Firebase App ID for your Apple app. Here are two different places
where you can find this ID:
In the Firebase console, go to your
settings > Project settings.
Go to the Your apps card, then click your
Firebase Apple App to view the app's information, including its App ID.
In your Flutter project's top-level directory, find your
firebase_options.dart file. The Firebase App ID for your Apple app is
labeled as appId.
When running the upload-symbols script, use
-ai FIREBASE_APPLE_APP_ID instead of
-gsp /path/to/GoogleService-Info.plist.
Check your version configuration for Flutter and Crashlytics(if using the --split-debug-info flag)
If your Flutter project uses the --split-debug-info flag (and, optionally,
also the --obfuscate flag), additional steps are required to show readable
stack traces for your app.
Make sure that your project is using the recommended version configuration
(Flutter 3.12.0+ and Crashlytics Flutter plugin 3.3.4+) so that your project
can automatically generate and upload Flutter symbols (dSYM files) to
Crashlytics.
Android
Check your dependency configuration
The flutterfire configure command attempts to add necessary dependencies to
your project's Gradle build files. Without these dependencies, crash reports in
the Firebase console may end up obfuscated if obfuscation is turned on.
Make sure the following lines are present in the project-level build.gradle
and in the app-level build.gradle:
In the project-level build file (android/build.gradle), check for the
following line:
In the app-level build file (android/app/build.gradle), check for the
following line:
// ... other importsandroid{// ... your android config}dependencies{// ... your dependencies}// This section must appear at the bottom of the fileapplyplugin:'com.google.gms.google-services'applyplugin:'com.google.firebase.crashlytics'
Check that you're using the CLI to upload Flutter symbols (if using the --split-debug-info flag)
If your Flutter project uses the --split-debug-info flag (and, optionally,
also the --obfuscate flag), additional steps are required to show readable
stack traces for your app.
Use the Firebase CLI (v.11.9.0+) to upload Flutter debug
symbols. You need to upload the debug symbols before reporting a crash from an
obfuscated code build.
From the root directory of your Flutter project, run the following command:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-03 UTC."],[],[]]