什么是dSYM和如何使用它? (iOS SDK) [英] Whats the dSYM and how to use it? (iOS SDK)

查看:208
本文介绍了什么是dSYM和如何使用它? (iOS SDK)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时编译器会生成.dSYM文件。我想这是一个调试相关的文件,但我不知道是什么,以及如何使用它。

Sometimes the compiler produces .dSYM files. I guess this is a debugging related file, but I don't know what it is, and how to use it.

什么是.dSYM?我如何使用它?

What is a .dSYM? How do I use it?

推荐答案

dSYM文件存储应用程序的调试符号

dSYM files store the debug symbols for your app

像crashlytics这样的服务使用它来替换崩溃日志中的符号,使用适当的方法名称,因此它将是可读的并且有意义。

Services like crashlytics uses it to replace the symbols in the crash logs with the appropriate methods names so it will be readable and will make sense.

使用dSYM是,你不需要发运你的应用程序与它的符号,使它更难逆向工程,并减少你的二进制大小

the benefit of using the dSYM is that you don't need to ship your App with it symbols making it harder to reverse engineer it and also reduce your binary size

为了使用为了符号化崩溃日志,您需要将崩溃日志拖动到编译应用程序二进制文件的机器(存储dSYM的机器)的组织器中的设备的设备日志

in order to use it in order to symbolicate the crash log you need to drag the crash log into the device's device logs in the organizer of the machine that compiled the app binary (a machine that stores the dSYM)

如果你有dSYM,但没有机器编译的应用程序二进制遵循 this 链接,以便将dSYM安装到计算机中

if you have the dSYM but don't have the machine the compiled the app binary follow the instructions in this link in order to install the dSYM into the machine

这篇关于什么是dSYM和如何使用它? (iOS SDK)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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