什么是dSYM以及如何使用它? (iOS SDK) [英] What's the dSYM and how to use it? (iOS SDK)

查看:1482
本文介绍了什么是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 use 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

有关详细信息,请参阅 apple技术说明TN2151

for more information please see apple technical note TN2151

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

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