/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash /usr/local/bin/
2 cd/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources
3./symbolicatecrash 【crash】 [dsym]
==========================================================
或者
1.命令行运行 /usr/bin/xcode-select -print-path
如果输出“/Developer”或者其他非“/Applications/Xcode.app/Contents/Developer/”的内容,运行下面的命令:
sudo /usr/bin/xcode-select -switch/Applications/Xcode.app/Contents/Developer/
2.查找symbolicatecrash: find /Applications/Xcode.app/ -namesymbolicatecrash
获取路径,我的是:
/Applications/Xcode.app//Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash
在执行symbolicatecrash之前先切换到他的目录下:
cdApplications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/
xcode4.3以前的版本
1.直接find /Developer -name symbolicatecrash -typef
2.切换到目录下,之后:./symbolicatecrash /somePath/MyCrashLogFile.crash/somePath/MyAppName.app.dSYM