iosfirebasecrashlyticsdeobfuscation

Firebase Crashlytics: Upload missing dSYMs to see crashes from 1 versions.(iOS)


Error Message: Upload missing dSYMs to see crashes from 1 versions. Versions affected: 1.0 (1)

I am trying to implement Firebase Crashlytics in my iOS project. I did all the setups according to Firebase Crashlytics Doucmentation. The crash is performed manually when the button is clicked just to see whether the crashlytics is working.

@IBAction func onTestCrashButtonClick(_ sender: UIButton) {

    Crashlytics.sharedInstance().crash()

}

But when i tried to see the error report in the firebase console, it shows something like this image.

enter image description here

After reading Get Deobfuscated crash reports I just Set Debug Information Format to DWARF with dSYM File like below but the problem not fixed till now. enter image description here


Solution

  • I have been having this same issue for a while and I was finally able to resolve it, thought I would share what worked for me:

    For context, I am working on a larger app which uses several Cocoapods.

    I found that same red banner on my Firebase Crashlytics page and after following all of their instructions I was still seeing it.

    I tried the "archive/find .dSYMs/upload manually via terminal" solution several times to no avail.

    Finally, I decided to download the .dSYMs from iTunesConnect.
    [Your App] > Activity > [Desired Build Number] > Download dSYM

    I then uploaded those .dSYMs manually and within minutes Firebase Crashlytics was happy and showing the crash reports.

    UPDATE
    Google has added a swanky .dSYM upload feature on the Firebase Crashlytics dashboard, no more uploading from the terminal.

    Edit on March 16, 2020.

    Google is soon removing the upload feature on the Firebase Dashboard. An uploader script should be used from the terminal to upload dSYMs to Firebase. See Google's instructions here.