20

I have just released an application on the App Store but for some users the app will crash. I am not able to reproduce this problem and therefore I was wondering if there is any way to get a crash report from the user so that I can get an idea of why the app will crash.

simonbs
  • 7,714
  • 13
  • 67
  • 113

5 Answers5

55

Being only a very part-time iOS developer and having a small app that doesn't have too much going on, I've not until recently had cause to try and find crash logs. Google led me to this very old thread.

Just in case anyone else ends up on the same wild goose chase - at the time of writing (mid-2018) iTunes Connect has been rebuilt as App Store Connect and, in the web portal, all you can see is number of crashes and so-forth. To download energy usage and crash report logs from Apple servers, you actually go to XCode. Window -> Organizer -> Energy or Crashes tab [EDIT: Still correct in November 2020, XCode 12.2].

Andrew Hodgkinson
  • 3,771
  • 1
  • 29
  • 39
  • What about apps crashing in Testflight? – SilentLucidity Nov 20 '19 at 09:53
  • 4
    Also, a tip to get to the raw crash logs since it also was not obvious: once in the Organizer **Crashes** tab, right-click on the crash in the list under your app and choose **Show in Finder...** In the Finder, right-click on the .xccrashpoint file and choose **Show Package Contents**... then navigate down to `DistributionInfos/all/Logs` to find the actual crash logs. – Corbell Nov 30 '19 at 20:26
  • 1
    @SilentLucidity go to your app in iTunesConnect (AppStore Connect), in the header tab select `TestFlight`, in the left panel under `Feedback` there is `Crashes`. Click on that and select a crash from the list you want, then in the popup, click on the cloud download icon to get the crash.zip. Unzip it, open the .crash file in your Xcode app project. – CyberMew Jan 06 '20 at 02:13
  • @CyberMew Unzipping the file only shows a JSON with the same information you get when clicking in TestFlight. I can't find a .crash file, anything changed? – FredFlinstone Jul 01 '21 at 11:04
  • @FredFlinstone It has been a while and I no longer have access, so I wouldn’t be able to advise further unfortunately – CyberMew Jul 01 '21 at 11:18
4

You can get crash reports via iTunes Connect. Here's how:

  1. Log into iTunes Connect
  2. Click "Manage your Applications"
  3. Select your app
  4. Click the app icon under "Current Version"
  5. Click "Crash Reports" on the right side
blake305
  • 2,166
  • 3
  • 23
  • 52
  • 2
    Thanks, I didn't know about that. Though, when I go there, there are no crash reports even though I know that the app crashes for some people. Do you know if there is any way to retrieve a crash report directly from the phone? – simonbs Apr 14 '12 at 11:07
  • There is a way to, but the user would have to be a registered developer and have access to xcode. – blake305 Apr 14 '12 at 21:39
  • Ah, okay. I'll just have to wait and see if the reports will show up in iTunes Connect. Thanks for your help. – simonbs Apr 15 '12 at 17:52
  • 1
    See Andrew Hodgkinson comment below. This is no longer the correct answer. – Mike Pandolfini Nov 09 '19 at 15:59
  • 3
    One important point, for a full crash report with stack trace, the user needs to enable sharing crash report (even internal AppStore Connect testers). On the device: `Privacy -> Analytics & Improvements -> Share iPhone Analytics (and Share with App Developers)`. If it's not enabled you still get a basic crash report (only directly downloadable from AppStore Connect, not Xcode organizer). It only has some device info, but no stack trace or `.crash` file. This is why some crash show up in Organizer and others don't. – Cenk Bilgen Feb 03 '20 at 17:41
3

Just in case someone is still looking for this answer in 2019, here is how i did it. 1.) Login to Apple iTunes Connect 2.) Goto My Apps >> Select your app >> Activity 3.) Select your build number 4.) Select Download dSYM in General information

The below link helped me and you can find other ways to download dSYM (e.g.: from Xcode) from here. References: https://docs.newrelic.com/docs/mobile-monitoring/new-relic-mobile-ios/configuration/retrieve-dsyms-bitcode-apps

pinal naik
  • 41
  • 4
  • 1
    This is only applicable to bitcode-enabled apps (you get dsym for your app from Apple). This does not 'show' you app crashes nor the stack trace. Of course in any case you need the dsyms to see the stack trace. – CyberMew Jan 06 '20 at 02:11
3

URL : https://developer.apple.com/news/?id=nra79npr

But make sure you have configured your appstoreconnects credentials in xcode.

enter image description here

Pandey_Laxman
  • 3,849
  • 2
  • 20
  • 38
-1

hey i thorogly search and find this

iOS 5 and later Tapping Settings > General > About > Diagnostics & Usage will allow you to choose between Automatically Send and Don't Send.

iOS 4 and earlier By default, opting in is a one-time decision. If you'd like to change your decision, you can reset warnings for your iOS 4 or earlier device so that you will be asked again.

How to reset warnings within iTunes Connect your iPad, iPhone, or iPod touch to your PC or Mac. Wait until your device has appeared on the left side of the iTunes window under Devices. Right-click (Mac or PC) or Control-click (Mac) the icon for your device. From the shortcut menu, choose Reset Warnings:

The next time you sync after resetting warnings, you should see:

To disagree and stop sending Apple diagnostic and usage information, click No Thanks.

If you don't see the window above Disconnect your device from your computer. Open an application on your device. Press and hold the Sleep/Wake button until the red slider appears, and then press and hold the Home button until the application quits. If you're using iOS 2.x or earlier, press and hold the Home button until the application quits. Connect your device and sync it with iTunes. The option to agree or disagree to diagnostics collection should appear again.

Chearz;)

Saad
  • 8,698
  • 2
  • 39
  • 51