There are several ways to get the crash log:
1. When the user complains about the flashback, you can ask him to sync the device with itunes, and when the device syncs with the itunes Store on the computer, the crash log will be saved on the computer (path: Mac OS x:~/library/logs/crashreporter/ mobiledevice/) to the above location to download the crash log, and then e-mail to you; When you use this method to obtain the crash log, you must try to get all the crash logs generated by the user device. Because the more crash logs, the more likely you are to diagnose the problem.
2. If you install Xcode, you can easily get a crash log from your device via Xcode, connect your iOS device to your computer, then turn on Xcode, choose the Window menu from the menu bar, and choose Organizer (shortcut is shift-cmd-2) On the Organizer window, select the Devices tab bar, and on the left navigation panel, select device logs;library below device Logs is the log for all of your devices (once connected to Xcode), and the device Logs is the log of the corresponding device.
3. After the app is submitted to the App Store, you can also get the user's crash log from itunes Connect, log on to itunes Connect, select Manage Your Applications, click on the app, click on view D below the app icon Etails button and click the Crash Reports in the links section of the right column; if there is no crash log, try clicking the "Refresh" button to refresh. If you don't have a lot of app users, or you're just out of stock, there may not be any crash logs on your ITunes connect account, and if you do, you'll see crash information for different iOS versions of users.
4, use the tool to get the application crash log, the tool (name: bugly, Website: http://bugly.qq.com/) Official website by detailed explanation, also accompanies the demo (Friend Union) (Bugtags website: https://www.bugtags.com) And so on
5. iphone Crash Log analysis tool Symbolicatecrash;symbolicatecrash is an analysis tool that comes with Xcode, You can replace the address in the crash log with the location of the code by locating the crash in the crash log on the machine and the application's. dsym file.
Get Crash Log