Apple provides a report service that collects logs from users for apps that you distribute using TestFlight or distribute through the App Store. The service organizes the logs for the past two weeks into downloadable crash, energy, and metric reports. The service does the following:
Collects logs from apps and app extensions running on user devices
Symbolicates the logs (replaces memory addresses with human-readable names)
Compares stack traces to identify and group similar logs into reports
Removes all personal user data from logs
Provides the total number of unique devices where the event occurred
Provides a sample set of logs for each report
Updates reports daily
You view crash reports in the Crashes organizer, energy reports in the Energy organizer, and metrics in the Metrics organizer. To open the organizer, choose Window > Organizer, then click either Crashes, Energy, or Metrics.
For energy reports, a log is generated when an app exceeds a reasonable CPU threshold in the foreground or background, and causes excessive battery usage. Each log is a sampling of the CPU over several minutes.
For metrics reports, the service aggregates anonymous data reported by devices on which the user shares data with developers and for apps distributed through the App Store.