IOS viewing crash logs and symbolization

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.