IOS View Crash Log

Source: Internet
Author: User

iOS development, there are several ways to view crash logs.

1 before release, the beta phase, the installation of the Hoc version of the IPA, if the crash, get the device, on the machine on the package open Xcode,orgnizer, check the device log can be seen.

2 after the release, the user crashes during use, the best thing is to let users send the device crash log to us, but this is quite unworkable. There is a way: The app integrates the Friends League SDK, then he will record the crash log, and then escalated to his platform, you can see the friend of the Alliance developer Account landing on his platform. Below, how to restore the crash stack to the corresponding source information what the file line and so on.

The specific operation is

1 First copy the Xxx.app with the corresponding Xxx.app.dYSM file to the same directory, for example destop/myapp/inside

2 then login to the Friend Alliance developer backstage to find the relevant report of the corresponding app, such as

3 Above the red box is the most useful information, using the offset address to reverse the source location, the specific operation is: Open the terminal, into the Destop/myapp directory just now

The offset address is typed into the command

Atos-o huijian_patient.app/huijian_patient-arch arm64 0x10018dbb4 0x10005ee04 0x10005fa2c

You will then get the following results

Red box inside the information is the most useful, this is good to do, find the source of the corresponding location, a good check it.

Note: Some parameters inside the command line are consistent with the log. For example, the arch, address, etc.

Let's try it out soon.

IOS View Crash Log

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.