上传符号文件 [英] Upload symbol files

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

问题描述

在我的Firebase崩溃报告页面中,找不到崩溃的完整信息(例如行数,文件等)。
我认为这可能是因为它表示

lockquote
上传符号文件以表示UUID
- - - ***


告诉我


使用命令行导航到您的Xcode项目文件夹并运行
以下:./Pods/FirebaseCrash/batch-upload - - - - ***


不幸的是,当我尝试在我的Xcode项目中执行该命令时,我收到以下消息:
$ b $


- - - - ***:warning:
完成。

并没有改变firebase。也许这是因为bitcode启用?我怎样才能解决它?



:出于安全原因,我已经用 - - - - ***替换了我的UUID。

解决方案

这个答案就是如果你不使用CocoaPods的话。

如果您不使用CocoaPods,则需要Pods目录中的某些文件,这些文件不包含在标准Firebase库集合中。



是5个文件,如下图所示:
批量上传

/ code>, dump_syms upload-sym upload-sym-util .bash upload-sym.sh 。您可以从FirebaseCrash Pod文件中检索这些文件。



如果您将这些文件复制到您的项目目录并替换$ {PODS_ROOT}/ FirebaseCrash / 与目录指向这些文件,它应该工作。



注意:我仍然有这个解决方案的复杂,如果我使用像Jenkins这样的构建服务器。还有一些工作要做。






我发现这是我的应用程序所必需的,不要使用CocoaPods。虽然这可能与您自己的使用没有直接的关系,但我认为至少我应该将其包含给其他人试图找到答案。

In my Firebase Crash Reporting page i can't find the full information of crashes (for example the number of row, the file and so on) . I thought it can be because it says

Upload symbol file to symbolicate future stack traces for UUID ----***

telling me to

Using the command line, navigate to your Xcode project folder and run the following: ./Pods/FirebaseCrash/batch-upload ----***

Unfortunately when i try to execute that command in my Xcode project i get the following message:

----***: warning: no executable or bundle Done.

and nothing changes in firebase. Maybe it is because of bitcode enabled? How can i solve it?

P.S. : I have replaced my UUID with ----*** for security reasons.

解决方案

This answer is if you're not using CocoaPods.

If you are not using CocoaPods you will need some files from the Pods directory that aren't included in the standard set of Firebase libraries they provide.

There are 5 files, pictured below:

You will need batch-upload, dump_syms, upload-sym, upload-sym-util.bash and upload-sym.sh. You can retrieve these files from the FirebaseCrash Pod files.

If you copy those into your project directory and replace the "${PODS_ROOT}"/FirebaseCrash/ with the directory pointing to those files, it should work.

Note: I still have complications with this solution if I use a build server like Jenkins. Still some work to be done there.


I found that this was required for my apps that don't use CocoaPods. While this might not be directly relevant to your own use, I figure at the very least I should include it for someone else trying to find the answer.

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

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