lecham
lecham

Reputation: 2464

Firebase crashlytics upload dsym automatically

I'm using React Native Firebase. At firebase crashlytics I have missing DSYM's. enter image description here

What's the right way to add dSYMs automatically on every build? I guess it should be added to run script? If so, how can I get the path to /path/to/pods/directory/FirebaseCrashlytics/upload-symbols and /path/to/dSYMs.

Thanks!

Upvotes: 6

Views: 11894

Answers (1)

Oleg Kodysh
Oleg Kodysh

Reputation: 1044

This question has been answered in previous posts, but I'll provide a quick summary. The paths below will automatically find your dSYMs and upload them.

Here is what goes into your runscript:

"${PODS_ROOT}/FirebaseCrashlytics/run"

This is what goes into your input file:

${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}

You can use this terminal command to find the correct paths to your dSYMs:

mdfind "com_apple_xcode_dsym_uuids == UUID"

You can use the below post as a reference:

Firebase Crashlytics DSYM file.

Upvotes: 7

Related Questions