官方文档在这里: http://developer.apple.com/iphone/library/technotes/tn2008/tn2151.html#SYMBOLICATION
这里有一篇讲解的比较好的文章: http://furbo.org/2008/08/08/symbolicatifination/
Symbolicatecrash是一个perl脚本,
2.x的存放位置:
<DEVELOPER_TOOLS_INSTALL_LOCATION>/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/Resources/
3.0的 存放位置改变了:
/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources
最好把这个东西拷贝到你的path中, 方便使用
Crash文件存放的位置在这里: Mac OS X: ~/Library/Logs/CrashReporter/MobileDevice/<DEVICE_NAME>
注意: .dSYM文件要保存, 这个.dSYM里面存放的是该二进制文件偏移位置和相应函数的对应关系.所以如果想把crash log里面的crash位置转换成相应的函数以上这两个文件缺一不可.
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.