crash
打包文件中,需要的文件:QiNiu.app.dSYM 以及 QiNiu 应用文件
将设备上的log 信息转化成 带文本的crash文件
从该路径下获取symbolicatecrash 工具并复制到相应的文件夹中
/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources
cd /Users/winni/Desktop/trytiwice
-----------------------------------------
1、dsym文件
2、crash文件(ips)
3、应用包
4、symbolicatecrash工具
1、跳转到指定文件夹
cd /Users/winni/Downloads/629Crash
2、查询 ————>ls
3、设置环境变量 export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer"
4、./Symbolicatecrash QiNiu-2016-06-28-163107.ips QiNiu.app.dSYM > winni_output_first.crash
-----------------------------------------
QiNiu.crash
./Symbolicatecrash QiNiu.crash dSYMs > winni_output_first.crash
QiNiu2.crash
./Symbolicatecrash QiNiu2.crash dSYMs > winni_output_two.crash
dwarfdump -u QiNiu.app/QiNiu
dwarfdump -u QiNiu.app.dSYM
档案与目录的显示:ls wdeiMac:~ winni$ ls
变换目录:cd wdeiMac:~ winni$ cd /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash
复制档案或目录:cp cp symbolicatecrash /Users/winni/Desktop/crash
进入该目录下/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources
将symbolicatecrash 复制到相应的文件夹
使用 export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer"
wdeiMac:crash winni$ dwarfdump -u QiNiu.app/QiNiu
UUID: B2483B96-054D-3C09-BB42-8BC9C2F7AAD9 (armv7) QiNiu.app/QiNiu
UUID: 81C90F2B-A125-346F-8C83-23C2B3F1F796 (arm64) QiNiu.app/QiNiu
wdeiMac:crash winni$ dwarfdump -u QiNiu.app.dSYM
UUID: B2483B96-054D-3C09-BB42-8BC9C2F7AAD9 (armv7) QiNiu.app.dSYM/Contents/Resources/DWARF/QiNiu
UUID: 81C90F2B-A125-346F-8C83-23C2B3F1F796 (arm64) QiNiu.app.dSYM/Contents/Resources/DWARF/QiNiu
dwarfdump --lookup 0x000000008badf00d --arch arm64 QiNiu.app.dSYM/
QiNiu.app.dSYM/
/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash /Users/Desktop/trytiwice
cd /Users/winni/Desktop/0524
dwarfdump -u QiNiu.app/QiNiu
dwarfdump -u QiNiu.app.dSYM
./Symbolicatecrash 0524-205.crash QiNiu.app.dSYM > winni_output_first.crash