[英]Change uuid in dsym file
I've been trying to change uuid
of generated dsym file so that crashlytics can match up crash logs with the dsym
. 我一直在尝试更改生成的dsym文件的
uuid
,以便crashlytics可以将崩溃日志与dsym
。
Do you know of any way to do it? 你知道怎么办吗?
For more context: 更多背景信息:
dsym
should work dsym
崩溃日志应该有效 If you have exact same source code and compiler version, you can build it again and replace new uuid. 如果你有完全相同的源代码和编译器版本,你可以再次构建它并替换新的uuid。
To achieve this run dwarfdump -u <yourapp>.dSYM
to view new uuid. 要实现此目的,请运行
dwarfdump -u <yourapp>.dSYM
来查看新的uuid。 Then open <yourapp>.dSYM/Contents/Resources/DWARF/<yourapp>
with hex editor, locate new uuid and replace with one you needed. 然后使用十六进制编辑器打开
<yourapp>.dSYM/Contents/Resources/DWARF/<yourapp>
,找到新的uuid并替换为您需要的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.