Search code examples
iosswift3symbolicatecrashfirebase-crash-reporting

Firebase crashes unreadable


I have a problem reading crash reports on FireBase, my reports look like:

FireBase crash report

I've already followed these instructions to symbolicate the stacktrace, got the same result.

  • I'm using Xcode 8
  • My app is made in Swift 3
  • Already wrote "FIRApp.configure()" in my appDelegate.didFinishLaunchingWithOptions method, did make it crash, deattach the debbuger, fix the error, re-run the app, got message "Crash successfully uploaded", etc...
  • I'm using pods(pod 'Firebase' and pod 'Firebase/Crash')
  • I see in the FireBase console my events and crashes(just are unreadable)
  • Installed the script for symbolicate automatically on build(see image):

enter image description here

Already downloaded FireBase provided examples(crash example does not include the scripting for symbolicate automatically)

Already followed this solutions(which didn't work):

and many others.

Already visited last 6 months links on stackoverflow and google groups with this problem.

Nothing has worked, help please!!!

Update#1: I received an email from [email protected] saying:

reset your OAuth credentials

Didn't work, also I've been testing the script and the upload is correct, I'm starting to think is a Firebase bug


Solution

  • Finally, eureka!

    I'm not sure about what was the mistake but I paste it here in case anyone is experiencig the same error:

    1) I deleted my app on Firebase console

    2) Create in Firebase console a new app with different name

    3) Create and download a new GoogleService-Info.plist

    4) Delete previous keys(rm $HOME/Library/Preferences/com.google.SymbolUpload*)

    5) Create new firebase crash configuration

    6) Copy the obtained file on step 5 to my root path on my project

    enter image description here

    7) Enable all permissions in firebase scripts

    chmod -R 777 ./Pods/FirebaseCrash
    

    8) Added the script phase as mentioned in the firebase configuration link mentioned in step 5 (I noticed that my not working previous configuration had blank spaces in name, so I created a non blank spaces name)

    enter image description here

    And finally(I don't know exactly wy) is working:

    enter image description here