问题
I'm using React Native Firebase. At firebase crashlytics I have missing DSYM's.
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!
回答1:
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.
来源:https://stackoverflow.com/questions/62075269/firebase-crashlytics-upload-dsym-automatically