How to view the reason for the crash in iTunes Connect?

Is there a way to get crash information in iTunes Connect? I noticed that the Analytics app displays the number of "sign-in failures." I click the number below it (in my case 2). This brings me to a page that apparently shows the days when the crash occurred. Is there a way to see useful information about an accident, such as a line of code, etc.?

+6
source share
2 answers

You have already deployed your application to the App Store (or as an Ad Hoc or Enterprise assembly), then you cannot connect the Xcode debugger to the deployed debugging application. To debug problems, you need to analyze the Crash Logs and Console outputs from the device. To read crash reports with backtraces, you need to symbolize them before you can analyze them. Symbolization is a process that replaces memory addresses with human-readable function names and line numbers.

To understand and analyze application crash reports, you can refer to Symbolicating Crash Reports , Debugging Deployed iOS Applications, or Crash Report Analysis .

Overview of crash and symbol reports. enter image description here

  • Set the debugging information format (DEBUG_INFORMATION_FORMAT) in the build settings, these debugging symbols are stored inside the binary file or in the Debug Symbol (dSYM) file for the companion.
  • When archiving the distribution application, Xcode will assemble the application binary together with the .dSYM file and save it in a place inside your home folder.
  • When deploying to the App Store or beta using a test flight, include the dSYM file when you upload your archive to iTunes Connect.
  • If the application crashes, an unconnected crash report is created and saved on it.
  • You can get crash reports directly from your device by following the steps in Debugging Deployed iOS Applications . If you distribute your application through AdHoc or Enterprise, this is the only way to receive crash reports from your users.
  • Failure reports received from the device are asymmetrical and should be symbolized using Xcode. Xcode uses the dSYM file associated with your application binary to replace each address in the backtrace with the original location in the source code. The result is a symbolic failure report.
  • If the user decides to share diagnostic data with Apple, or if the user has installed a beta version of your application through TestFlight, the crash report is uploaded to the App Store.
  • The app store symbolizes a crash report and groups it with similar crash reports. This collection of similar crash reports is called a crash point.
  • Symbolic crash reports are available to you in the Xcode Crashes organizer.
+8
source

Yes, you can view these crashes in Xcode. This can be found in the apple docs in Crash Report Analysis.

+3
source

Source: https://habr.com/ru/post/1014100/


All Articles