[ios]如何手动symbolicate一个crash log文件
来源:互联网 发布:php 开发 restful api 编辑:程序博客网 时间:2024/06/08 05:33
EDIT :: XCode 4.3
You will want to follow the same steps as outlined in the original answer (below) with a few exceptions.
First, you need to fix the Xcode path. Open a terminal and run:
/usr/bin/xcode-select -print-path
If it displays "/Developer" or anything but "/Applications/Xcode.app/Contents/Developer/" then it is wrong. To fix this run the command:
sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer/
You can now run all the steps below, with the exception that the symbolicatecrash
command is in a new spot (again). This is because Xcode now installs as an app. To find symbolicatecrash
run this from the terminal:
find /Applications/Xcode.app -name symbolicatecrash -type f
This should return:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash
Before running symbolicatecrash
you may wish to go to this directory like:
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/
Original Answer :: Xcode < 4.3
Path for symbolicatecrash
Search from a terminal using:
find /Developer -name symbolicatecrash -type f
For me this returned:
/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash
How to Manually Symbolicate a Crash Log
Run the symbolicatecrash
command with the crash log as the first argument and your dSYM file as your second argument. Note that if you will be running symbolicatecrash
from the current directory that you MUST put ./
in front like ./symbolicatecrash
unless your PATH environment variable includes the directory that the command resides in.
I changed to the directory that had the symbolicatecrash
command in it first (note: will be different for Xcode 4.3, see top):
cd /Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/
Then I executed the following command:
./symbolicatecrash /somePath/MyCrashLogFile.crash /somePath/MyAppName.app.dSYM
How to Find the dSYM file:
You must have the archive that was used to create the build with the crash to get the dSYM file.
Here are the steps:
- Right click (or ctrl click) the archive from organizer and choose "Show in Finder".
- From the xcarchive file in finder, right click (or ctrl click) this file and choose "Show Package Contents". You will then see a "dSYMs" folder.
- Inside the "dSYMs" folder you will find "YourAppName.app.dSYM" file that you will need to symbolicate files.
- [ios]如何手动symbolicate一个crash log文件
- [ios]如何手动symbolicate一个crash log文件
- symbolicate iOS Crash Log
- symbolicate crash log
- ios crash report -- atos symbolicate
- 如何获取 iOS crash log
- ios crash log 文件分析
- iOS crash log 文件解析
- ios crash log
- IOS Crash Log分析
- ios crash log
- ios分析 Crash Log
- look ios crash log
- 获取 iOS crash log
- iOS Parse Crash Log
- ios crash log查看
- 如何Xcode查看Ios app的crash log
- 如何Xcode查看Ios app的crash log
- R语言 表达式对象的求值 eval
- POJ 2533 Longest Ordered Subsequence
- svm工具箱快速入手简易教程
- TexView使用过程中的漏洞
- iOS:手把手教你发布代码到CocoaPods(Trunk方式)
- [ios]如何手动symbolicate一个crash log文件
- 欢迎使用CSDN-markdown编辑器
- 为Eclipse添加PyDev插件
- 获取DIV内部内容报错
- VS2015--win32工程配置的一些想法之预处理器不起作用
- iOS CGContextRef画图小结
- Lua类继承(二)
- Android实现边录音边播放
- 开张第一篇