60

Crashlytics says "We're missing a dSYM to process crashes" and when I try to download dSYMs from Xcode (7.1), I get "there are no dsyms available for download"

Ashish Awaghad
  • 2,822
  • 3
  • 24
  • 33

5 Answers5

93

I ran into the same problem today. It seems that iTunes Connect is recompiling apps with bitcode so that the UUID changes, and the dSYM inside the .xcarchive can't actually be used to symbolicate the app (this appears to be a new development).

You can download the correct dSYM from iTunes Connect. Login, go to My Apps, select your app, then tap on the Activity tab at the top. Tap on the relevant build, and, assuming the app was submitted with symbols in the first place, you should see the option to "Download dSYM."

The file you get is called dSYMs (without an extension) but it is in fact a zip file. Add the .zip extension, unzip, and you'll find your dSYM(s) inside.

You can upload this .zip file directly to Crashlytics and you should be all set.

The solution was posted here: https://twittercommunity.com/t/not-matching-uuid-bitcode/61000

Lane Rettig
  • 6,640
  • 5
  • 42
  • 51
  • 9
    The dSYMs downloaded from iTunes Connect still did not contain any of those reported missing from the Fabric Dashboard. (At least in my case.) – Kyle H Feb 29 '16 at 16:21
  • Hi @KyleH, that's odd, are you certain you've got the right app with the right bundle ID and right version number? If you're still stuck you should ask for help here, I found them pretty responsive: https://twittercommunity.com/c/fabric – Lane Rettig Mar 01 '16 at 03:07
  • 2
    Hey @LaneRettig! I ended up disabling bitcode for my project, archiving a new build, and then the dSYMs were automatically uploaded. So I guess I'll just have to leave bitcode disabled until their is another workaround. – Kyle H Mar 02 '16 at 08:19
  • I had the same problem as Kyle H. Oddly enough, after uploading a new build it has been fixed. I still have some past issues though that I can't see due to not being able to find the correct dSYMs – user3344977 Apr 02 '16 at 18:48
  • When downloading the dSYMs from iTunes Connect, I never have to add the .zip extension. It downloads as a zip folder in the first place. – user3344977 Apr 02 '16 at 18:49
  • Hi @user3344977, thanks for the comment. I checked again just now and I'm definitely still getting a file called "dSYMs" without an extension from iTunes Connect! I wonder if it doesn't have something to do with browser or platform (I'm using Chrome on OS X). – Lane Rettig Apr 02 '16 at 21:37
  • @LaneRettig it probably does have something to do with that :) – user3344977 Apr 03 '16 at 07:35
  • @LaneRettig What do you mean by "assuming the app was submitted with symbols in the first place"? Do you mean, the 'Include symbols' checkbox was ticked during app upload to iTunes Connect? Or do you mean, the archive contained dSYMs inside? Or something else? I see no option in iTunes Connect to download symbols for my app. – Ash Jul 28 '16 at 02:47
  • Yes, I meant that "include symbols" was checked when the app was submitted. – Lane Rettig Jul 29 '16 at 00:24
  • 1
    I don't have an app created in iTunes Connect. I'm only archiving the app to send over the air installations. SO can't I still use the dSYM files inside the .xcarchive? – Isuru Aug 19 '16 at 14:05
  • 1
    Make sure you're using **Safari**. When using Chrome to download missing dSYMs from iTunes Connect & upload them to Fabric, I would always get an upload error. Switching to Safari did the trick. – Derek Soike Mar 13 '17 at 16:04
  • @DerekSoike it's been almost two days i'm trying to upload using Chrome, switching safari is the key. You're a life saver. – limon Jul 22 '17 at 08:28
  • 1
    do i need to do this every once in a while, or do i do it only once ? – SoliQuiD Dec 30 '17 at 11:51
  • What about "Optional" dsyms? Where can I get them? – algrid Oct 11 '18 at 14:50
28

There is another way to get to your dSYM.

  1. From the organizer, right click on the archive and select "Show in Finder"
  2. Right click on the .xcarchive shown in Finder and select "Show Package Contents"
  3. Copy the "dSYMs" folder found inside to somewhere else.
  4. Compress the "dSYMs" folder and upload it to Crashlytics.
Techi50
  • 545
  • 6
  • 6
17

If anyone cannot find the dSYM file in the .archive package or on iTunes Connect like me, please check Build Settings -> Debug Information Format -> Release -> DWARF with dSYM File is correctly set.

Shawn
  • 456
  • 5
  • 11
8

@Shawn's answer actually helped me fix this permanently for my instance, with no need to upload dSYMs manually. Basically go to Build Settings and then turn on these parameters:

  • Debug: DWARF with dSYM File
  • Release: DWARF with dSYM File
  • Enable Bitcode: No

This seems to work well when you've NOT gone through the iTunes Connect path yet and just want to test your app with Crashlytics in the "development" mode.

Uzumaki Naruto
  • 547
  • 5
  • 18
6

Check in your Build Settings that your Debug Information Format is “DWARF with dSYM File” for both Debug and Release.

Features

Eric Aya
  • 69,473
  • 35
  • 181
  • 253
Aleem
  • 3,173
  • 5
  • 33
  • 71