If you can see this article, you have already proved the importance of getting the crash log. In the company, testers occasionally encountered a program crash, the bug submitted to the programmer, often bug difficult to reproduce, which caused the bug difficult to modify the phenomenon. In fact, every iphone device crashes when a crash log is generated and saved to the phone. Here's how to get the crash log:
1, Sync mobile phone content to connect the phone to the computer, the computer will automatically open itunes (.
Choose your own phone, click Sync
The crash log is then synced to the computer.
2. View the crash log
Open Finder----->cmd + SHIFT + G paste:
~/library/logs/crashreporter/mobiledevice/in this path, you can see the sync content of the phone, the suffix of the crash log. Crash.
3, the crash log is some can not understand the file, want to find the cause of the program crash, but also to symbolize the crash log
There are 3 files to prepare:
. Crash is the crash log described above, Symbolicateecrash is the log symbology tool, the crash log symbology is done by this tool, Test.app.dSYM is a file exported by the Xcode build version.
1) Acquisition of Symbolicateecrash Tools
Searching in the Finder
Find/applications/xcode 3.app-name Symbolicatecrash-type F, where Xcode 3.app is replaced by its own Xcode name, go, you can see the Symbolicatecrash tool
2) Get the. app.dsym file
Please see link: https://bughd.com/doc/ios-mapping
We recommend that you test the app, to link the real machine, archive a version.
3) then copy the 3 files to a folder, open the command line, enter this directory
Specific process: http://www.cnblogs.com/ningxu-ios/p/4141783.html
IOS viewing crash logs and symbolization