IOS Crash Log Analysis (RPM)

Source: Internet
Author: User

Note that Symbolicatecrash is an error log analysis tool that can be used independently.

While the iphone is connected to Xcode, it is possible to view the device logs directly, but more crashes occur after we have distributed the IPA (either test or shelves). Therefore, if we are fortunate enough to get the logs from the user, then Symbolicatecrash will be able to show great divinity at this time, it can transform the error log into our readable form. Symbolicatecrash no accident, but also used the mapping way to replace the mark. (1) Create a crash folder on the desktop
(2) Find Symbolicatecrash open Terminal Enter the following command: Find/applications/xcode.app-name symbolicatecrash-type f you will find:/applications/ xcode.app/contents/developer/platforms/iphoneos.platform/developer/library/privateframeworks/ Dtdevicekitbase.framework/versions/a/resources/./symbolicatecrash because Symbolicatecrash can be used independently, So we can copy it to the crash folder (where permissions may be involved, use sudo if permission is involved) cp/applications/xcode.app/contents/developer/platforms/ iphoneos.platform/developer/library/privateframeworks/dtdevicekitbase.framework/versions/a/resources/ Symbolicatecrash/users/angel/desktop/crash

(3) Get the. App,. app.dsym file from organizer, and put it in the crash folder







(4) switch to the desktop Crash directory: CD ~/desktop/crash execute command./symbolicatecrash./*.crash./*.app.dsym > Symbol.crash At this point the terminal may appear: Error: "Developer_dir" is not defined at./symbolicatecrash Line 60 input command: Export developer_dir= "/applications /xcode.app/contents/developer "/symbolicatecrash./*.crash./*.app.dsym > Symbol.crash At this point the terminal will be processed and the processing result is to generate a new file Symbol.crash. This file can be used for analysis.

(5) Symbol.crash Note that the data returned by the user can sometimes be more head or tail, such as itools exported crash files, in the head more things. These extra data are better removed and may affect processing.

IOS Crash Log Analysis (RPM)

Related Article

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.