This article provides step-by-step instructions for addressing missing dSYMs on Firebase Crashlytics for iOS apps.
Downloads dSYMs File
After your iOS app build is uploaded to App Store Connect and approved by Apple for distribution, you can retrieve the dSYMs file. Within App Store Connect, navigate to the desired app. Click on the Activity tab. Select the desired build number. Under the Includes Symbols header is an option to download dSYM. Click this button to download the appDsyms.zip file.
Upload dSYMs File to Firebase
On the device where your Firebase Crashlytics SDK is installed, execute the following commands within terminal replacing the bold inputs with your file names.
/path/to/pods/directory/FirebaseCrashlytics/upload-symbols -gsp /path/to/GoogleService-Info.plist -p ios /path/to/dSYMs
If you are not using the Firebase Crashlytics SDK, use the following script:
/path/to/Fabric/upload-symbols -gsp /path/to/GoogleService-Info.plist -p /path/to/dSYMs
You should see “Fetching upload-symbols settings…” initially. Afterwards, you should see “Successfully submitted symbols for architecture …”. Finally, assuming the upload was successful, you will see “Successfully uploaded Crashlytics symbols.” You can confirm by checking the Firebase Crashlytics dSYMs tab for the iOS app.
There you have it! You successfully uploaded missing dSYMs to Firebase Crashlytics. Now you can use the Firebase Crashlytics dashboard to troubleshoot crashes from your iOS app. Success!