Skip to content

Instantly share code, notes, and snippets.

@medyo
Last active July 24, 2023 12:03
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save medyo/43a76da1c4cc5aae0eaaa1a16bb9ae97 to your computer and use it in GitHub Desktop.
Save medyo/43a76da1c4cc5aae0eaaa1a16bb9ae97 to your computer and use it in GitHub Desktop.
Upload dSYMs file to Crashlytics for react Native projects

1 - Download the dSYMs File from Appstore

  • go to https://appstoreconnect.apple.com/
  • Click on My Apps
  • From the left sidebar choose the app version you would like to get its dSYM
  • Scroll down to the Build section then click on the build version
  • then Build Metadata
  • On the new page, look for "Includes Symbols"
  • Click on Download dSYM
  • If not found please use the below method

1 - Download the dSYMs File from Xcode (Skip, if the previous step is done)

  • Open Xcode
  • On the top bar choose Window then Organizer
  • Tap on "Download Debug Symbols" button
  • Right click on the wanted archive then Show in finder
  • On the new opened window, Right click on the archive file then Show package content
  • You should locate the dSYMs folder there with one or many dSYMs files.
  • Copy the wanted dSYM file to desktop

2 - Upload to Crashlytics

  • In terminal run the following command
MY_PROJECT_PATH/ios/Pods/FirebaseCrashlytics/upload-symbols -gsp MY_PROJECT_PATH/ios/GoogleService-Info.plist -p ios DSYM_PATH/dSYM_NAME.dSYM

replace MY_PROJECT_PATH with your project path
replace DSYM_PATH with the path where your copied the DSYM file to (eg, Desktop)

If succeded, You should see the following message

Successfully submitted symbols for architecture arm64 with UUID X in dSYM: DSYM_PATH/dSYM_NAME.dSYM
Successfully uploaded Crashlytics symbols
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment