且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

什么是dSYM以及如何使用它? (iOS SDK)

更新时间:2022-05-18 03:35:17

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