How to verify the consistency of the. IPA package,. DSYM,. Crash files

Source: Internet
Author: User

Objective

In order to effectively monitor and process some of the crashes on the line, we typically count the crash information. In the process of handling crash information, it is often necessary to find out which of the crash information corresponds to the build result, what do I do? (If the crash statistics tool used in your application has integrated the analysis functionality, this article can be ignored.) )

Problems and Solutions
  1. How do I confirm that the crash information in my test version corresponds to which build?

    Each executable file has a build UUID that uniquely identifies it. Crash logs include the build UUID of the crashed application and all the libraries that were loaded when the crash occurred. You need to verify that the build's UUID and crash information contain the same UUID.

  2. such as and view crash logs and build UUID information

      • View the build UUID of the crash log

        ① use Xcode to connect crash device, open Window->organizer, left app list select your app, Top tab switch to crash, find your crash, right menu show in finder-> Show Package Contents->/ Distributioninfos/all/logs, you can see all of the current types of flash-back lists.

        The ② executes the following command at the terminal.

        $ grep --after-context=2 "Binary Images:" Example.crash

        You will see a result similar to this:

          Binary Images:    0xb6000 - 0xb7fff +Example armv7 <270a9b9d7a333a4a9f1aaf8186f81394> /var/mobile/Applications/28D4F177-D312-4D3B-A76C-C2ACB4CB7DAD/Example.app/Example    0x2feb5000 - 0x2fed6fff  dyld armv7 <4a817f3e0def30d5ae2032157d889c1d> /usr/lib/dyld

    Here, the build UUID is 270a9b9d7a333a4a9f1aaf8186f81394, and the executable file for the path application is example.app/example.

      • How to view the UUID of an . IPA package

        ① extracting. IPA files

        $ cp Example.ipa Example.zip$ unzip Example.zip

        Decompression Results View:

        $ cd Payload$ lsExample.app

        ② You can print an executable build UUID from the terminal using the following command

        $ xcrun dwarfdump --uuid Example.app/Example

        Example results:

        UUID: 270A9B9D-7A33-3A4A-9F1A-AF8186F81394 (armv7) Example.app/ExampleUUID: 7711EC60-C0B2-3608-A539-182C77AE01ED (armv64) Example.app/Example
      • How to view the UUID of a . ddym file

        ① use the terminal to enter the following command

        $ dwarfdump --uuid /Users/wusuowei/Desktop/Example.dSYM

        Example results:

        UUID: FEB022C4-F950-37DD-8D19-D4C63D1D1474 (armv7) /Example.dSYM/Contents/Resources/DWARF/ExampleUUID: 250F0F9E-7855-3347-900A-F555442C9F29 (arm64) /Example.dSYM/Contents/Resources/DWARF/Example
Reference

How to Match a Crash report to a Build

Related

Itunesconnect Missing beta rights

How to verify the consistency of the. IPA package,. DSYM,. Crash files

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.