XCode编译后没有生成dSYM文件?
XCode Release编译默认会生成dSYM文件,而Debug编译默认不会生成,对应的Xcode配置如下:
这一步一定要写,否则无法生成dsym文件
XCode -> Build Settings -> Code Generation -> Generate Debug Symbols -> Yes
XCode -> Build Settings -> Build Option -> Debug Information Format -> DWARF with dSYM File
![](https://img.haomeiwen.com/i6562341/dedc16d3a903cdd5.png)
dSYM文件查看
![](https://img.haomeiwen.com/i6562341/d961d04a16216a00.png)
![](https://img.haomeiwen.com/i6562341/74dd4bd177654807.png)
选中一条记录,点击右键,选择“Show in Finder",在弹出的文件夹中,选中xxx.xcarcher文件,右键--“显示包内容”
网友评论