tiechui

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

symbolicatecrash 使用方法

 

1-找到symbolicatecrash

find /Applications/Xcode.app -name symbolicatecrash -type f

 

==

你会找到:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/./symbolicatecrash

 

2-将symbolicatecrash拷贝到工作目录 比如: 桌面的crash文件夹 e.g :/Users/BillyWang/Desktop/crash

cp /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/symbolicatecrash

/Users/<username>/Desktop/crash

 

把 .app和.app.dSYM 拷贝到工作目录,和symbolicatecrash放一起

 

 

3-执行symbolicatecrash   

 

cd /Users/<username>/Desktop/crash

 

4-执行命令

./symbolicatecrash ****.crash ****.dSYM > ****.crash(/****.txt)

 

 

这时候终端有可能会出现:Error: "DEVELOPER_DIR" is not defined at ./symbolicatecrash line 60.

输入命令:export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer" 

posted on 2016-09-08 11:05  tiechui  阅读(335)  评论(0编辑  收藏  举报