- 将appName.dSYM、appName.crash放在同一个文件夹中
- 进入该文件夹
dwarfdump --uuid appName.dSYM
,得到
UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx (armv7) appName.app.dSYM/Contents/Resources/DWARF/appName
UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx (arm64) appName.app.dSYM/Contents/Resources/DWARF/appName
atos -o appName.app.dSYM/Contents/Resources/DWARF/appName -arch arm64/armv7 堆栈地址
- 举个例子,如下图所示
image.png
UUID对应的是arm64,出现问题的堆栈地址是0x100178e48
所以命令应该是atos -o appName.app.dSYM/Contents/Resources/DWARF/appName -arch arm64 0x100178e48
网友评论