Firebase crashlytics upload dsym automatically

大城市里の小女人 提交于 2021-01-04 06:44:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!