Firebase crashlytics自动上传dsym [英] Firebase crashlytics upload dsym automatically

查看:330
本文介绍了Firebase crashlytics自动上传dsym的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用React Native Firebase.在firebase crashlytics中,我缺少DSYM.

I'm using React Native Firebase. At firebase crashlytics I have missing DSYM's.

在每个构建中自动添加dSYM的正确方法是什么?我猜应该添加它来运行脚本吗?如果是这样,我如何获取/path/to/pods/directory/FirebaseCrashlytics/upload-symbols /path/to/dSYMs 的路径.

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.

谢谢!

推荐答案

此问题已在

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}

您可以使用此终端命令找到dSYM的正确路径:

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文件.

这篇关于Firebase crashlytics自动上传dsym的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆