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