找了好久,直接在文件搜索搜不到,貌似是隱藏文件。
bogon:~ rcfang$ cd /Applications/Xcode.app/Contents/SharedFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/
bogon:Resources rcfang$ ls
CrashDatabaseModel.momdsymbolicatecrash
DTDeviceKitBase.xcplugindatasync_ddi
English.lprojversion.plist
Info.plist
在這個目錄下:/Applications/Xcode.app/Contents/SharedFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/
bogon:~ rcfang$ symbolicatecrash test.crash CrashTest.app.dSYM > crash_readable.log
sh: /Applications/Xcode6.1.app/Contents/Developer/usr/bin/xcrun: No such file or directory
sh: /Applications/Xcode6.1.app/Contents/Developer/usr/bin/xcrun: No such file or directory
sh: /Applications/Xcode6.1.app/Contents/Developer/usr/bin/xcrun: No such file or directory
sh: /Applications/Xcode6.1.app/Contents/Developer/usr/bin/xcrun: No such file or directory
路径错了,终端输入下面的:
export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"
No crash report version in test.crash at /usr/bin/symbolicatecrash line 957.
可能是没有app文件。