gpt4 book ai didi

ios - 减少符号化的 dSYM 文件的大小

转载 作者:行者123 更新时间:2023-12-01 16:20:57 25 4
gpt4 key购买 nike

我们正在寻找减少来自 Apple 平台的 dSYM 文件大小的方法。我们需要 dSYM 文件来符号化崩溃的堆栈跟踪,我在 Crashlytics 博客中阅读了 this :

These mappings actually hold much more than needed just forsymbolication, presenting some opportunities for optimization. Theyhave everything required for a generalized symbolic debugger to stepthrough and inspect your program, which may be a huge amount ofinformation. On iOS, we have seen dSYMs greater than 1GB in size! Thisis a real opportunity for optimization, and we take advantage of thisin two ways. First, we extract just the mapping info we need into alightweight, platform-agnostic format. This results in a typicalspace-saving of 20x when compared to an iOS dSYM.

将大小减小 20 倍听起来不错,但我发现很少有关于如何做到这一点的信息。我是否需要学习 Mach-O DWARF 的详细信息才能实现此目的,或者某些命令行工具可以做到这一点?我还想知道是否可以在之后直接使用剥离版本进行符号化。

谢谢。

最佳答案

Crashlytics 将 dSYM 转换为 cSYM,并使用这些 cSYM 进行符号化。这种转换发生在客户的 Mac 上。您可能想查看实际上传到 crashlytics 的此 cSYM 文件的最终大小。

关于ios - 减少符号化的 dSYM 文件的大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60196595/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com