iOS development crash Log collection, and analysis

Source: Internet
Author: User

In the iOS development process, when the app has been packaged, iphone devices installed through the IPA package application, the use of the process to find crash, then how to obtain the crash log, now provides the following four ways to get crash logs:

1, open the settings of the iphone device in the privacy of the "diagnostic and dosage", and then if the app crashes, the device will pop up the prompt box, the user confirmed, crash log will automatically send to the Apple backstage, and then use the developer account login up, you can get crash log.

2. Link the device to your Mac or Windows, sync to itunes and get crash log from your computer's directory:

Mac OS X:~/library/logs/crashreporter/mobiledevice

Windows Xp:c:\documents and Settings\Application Data\apple Computer\logs\crashreporter

Windows 7/vista: C:\Users\ Computer logon name \appdata\roaming\apple Computer\logs\crashreporter\mobiledevice

3, can get crash log through Itools tool, open itools, connect iphone device, follow the prompts, get crash log


4, through Xcode get crash log, open Xcode, connect iphone device, open window under the device, you can see your connected devices, you can see the following interface, click on view device logs, you can see all the logs, check the log, Click the right button to log everywhere


Second, analytic crash logs

Through the online search analysis crash logs three kinds, because untested, so no record, see can: http://www.cocoachina.com/industry/20140514/8418.html

Tested available methods are atos-o xxx.app.dsym/contents/resources/dwarf/xxx-l address0 targetAddress

which

A, XXX is appname

B, Address0 is the starting address for the current process to load in memory, as for why this is required, it is necessary to understand the following ASLR

Get address reference:

C, targetaddress is the address you want to symbolize.




iOS development crash Log collection, and analysis

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.