我正在研究如何创建服务器端 iOS 崩溃报告符号服务器,如 Crashlitics 或 Crittercism 或 HokeyApp,据我所知,他们只要求用户上传 .dSYM 文件,然后他们就能够符号化崩溃报告,我想知道他们是如何存档的? Apple 的标准 symbolicatecrash 命令需要同时提供应用程序二进制文件和 .dSYM 文件:
Symbolication - resolving stack trace addresses to source code methods and lines - requires the application binary that was uploaded to the App Store and the .dSYM file that was generated when that binary was built. This must be an exact match - otherwise, the report cannot be fully symbolicated. It is essential that you keep each build distributed to users (regardless of the details of that distribution) with its .dSYM file.
有人知道细节吗?谢谢。
符号化是通过使用符号文件将十六进制地址映射到函数名称,将堆栈跟踪转换为人类可读形式的过程。换句话说,符号化可以定义为对代码符号进行去混淆处理并删除调试符号的过程,以减少包大小并使其更难进行逆向工程。上传应用的符号文件后,Apteligent 会自动符号化崩溃。
对于 Apple 应用程序,堆栈跟踪以十六进制字符报告。符号化允许开发人员将这些十六进制字符串转换为人类可读的文本。
更多信息请引用 http://support.crittercism.com/articles/knowledge_base/How-does-iOS-Symbolication-work和 https://www.apteligent.com/developer-resources/symbolicating-an-ios-crash-report/
关于ios - 没有应用程序二进制文件的符号化崩溃报告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28404342/
欢迎光临 OStack程序员社区-中国程序员成长平台 (https://ostack.cn/) | Powered by Discuz! X3.4 |