{"id":115210,"date":"2020-07-09T19:11:06","date_gmt":"2020-07-09T19:11:06","guid":{"rendered":"https:\/\/developer.apple.com\/news\/?id=nra79npr"},"modified":"2020-07-09T19:11:06","modified_gmt":"2020-07-09T19:11:06","slug":"how-to-review-your-apps-crash-logs","status":"publish","type":"post","link":"https:\/\/sickgaming.net\/blog\/2020\/07\/09\/how-to-review-your-apps-crash-logs\/","title":{"rendered":"How to review your app\u2019s crash logs"},"content":{"rendered":"<div class=\"inline-article-image\"><img decoding=\"async\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2020\/07\/how-to-review-your-apps-crash-logs.jpg\" data-hires=\"false\"><\/div>\n<p>While we\u2019d all prefer it if our apps never crashed, the logs captured from those crashes can help you troubleshoot bugs and get your app up and running again. If and when something goes awry, your app automatically gathers crash reports from people who have opted in to send you anonymized crash data. And you can view that data using the Xcode Organizer on your Mac. <\/p>\n<p><em>Note: While there are several third-party analytics tools that can also provide information on crashing threads when incorporated into your app, you may not always be able to see the full backtrace. Additionally, the log you receive may not be in a format you can send to Apple when filing feedback.<\/em><\/p>\n<p>Here\u2019s how you can access full crash reports directly from Xcode and your Mac\u2019s Finder. <\/p>\n<h3>Find your app\u2019s crash logs<\/h3>\n<p>There are two ways to view your app\u2019s crash logs. The first provides you with at-a-glance information \u2014 like the percentage of people running into crashes on an earlier version of iOS \u2014 while the other offers a more detailed look at individual crash reports.<\/p>\n<ol>\n<li>Open <strong>Xcode<\/strong>.<\/li>\n<li>Select <strong>Window<\/strong> from the menu bar.<\/li>\n<li>Go to <strong>Organizer &gt; Crashes<\/strong>.<\/li>\n<li>Choose <strong>App Store<\/strong> from the drop down menu.<\/li>\n<\/ol>\n<div class=\"inline-article-image\"><img decoding=\"async\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2020\/07\/how-to-review-your-apps-crash-logs-1.jpg\" data-hires=\"false\"><\/p>\n<p class=\"typography-caption\">The Xcode Organizer displays crashes reported by your app, organized by the issue and frequency. You\u2019ll only be able to see information from people who have opted to share anonymized crash reports.<\/p>\n<\/div>\n<p>Here, you can see crash reports from your app\u2019s builds, including TestFlight betas and versions you\u2019ve released to the App Store. Browse all of your crashes at a glance, and check out statistics to see how crashes break down across OS versions and different devices. <\/p>\n<p>And if you want to start troubleshooting on the spot, you can even open a crash report and jump right to the affected line in Xcode by simply choosing the <strong>Open In Project<\/strong> option.<\/p>\n<h3>Review your app\u2019s crash logs<\/h3>\n<p>To check out individual crash logs in detail, you\u2019ll need to engage the power of your Control key.<\/p>\n<ol>\n<li><strong>Control-click<\/strong> on the crash in question.<\/li>\n<li>Choose <strong>Show in Finder<\/strong>.<\/li>\n<li>In the Finder window, <strong>control-click<\/strong> the highlighted .xccrashpoint file.<\/li>\n<li>Choose <strong>Show Package Contents<\/strong>.<\/li>\n<li>In the folder that displays, go to <strong>DistributionInfos &gt; all &gt; Logs<\/strong>.<\/li>\n<\/ol>\n<p>Inside the Logs folder, you\u2019ll find each individual crash report, which you can browse and troubleshoot accordingly. You can also use these crash reports when reporting feedback to Apple.<\/p>\n<h3>Resources<\/h3>\n<p><a href=\"https:\/\/developer.apple.com\/documentation\/xcode\/diagnosing_issues_using_crash_reports_and_device_logs\">Learn more about diagnosing issues using crash reports and <span class=\"icon icon-after icon-chevronright nowrap\">device logs<\/span><\/a><\/p>\n<p><a href=\"https:\/\/developer.apple.com\/bug-reporting\/\">Learn more about <span class=\"icon icon-after icon-chevronright nowrap\">reporting bugs<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>While we\u2019d all prefer it if our apps never crashed, the logs captured from those crashes can help you troubleshoot bugs and get your app up and running again. If and when something goes awry, your app automatically gathers crash reports from people who have opted in to send you anonymized crash data. And you [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":115211,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[],"class_list":["post-115210","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apple-developer-news"],"_links":{"self":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/115210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/comments?post=115210"}],"version-history":[{"count":0,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/115210\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media\/115211"}],"wp:attachment":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media?parent=115210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/categories?post=115210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/tags?post=115210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}