Crashlytics Is Not Sending Crash Report from Iphone

Firebase Crashlytics debug mode not send report in ios

Add this to didFinishLaunchingWithOptions method in AppDelegate.

    #if DEBUG
Crashlytics.crashlytics().setCrashlyticsCollectionEnabled(false)
Crashlytics.crashlytics().checkForUnsentReports { isUnsendExists in
if isUnsendExists {
Crashlytics.crashlytics().deleteUnsentReports()
}
}
#else
Crashlytics.crashlytics().setCrashlyticsCollectionEnabled(true)
#endif

Crashlytics is not sending Crash report from iPhone or Real Deivce

I could resolve my issue after uploading the dSYM file. Here is how I retrieved it on the project. I run my on debug mode and simulator.

  1. First you have to Archive
    (Select "Generic iOS Device" or your real device) the project. Then Product --> Archive menu will appear.

After successful archive you will be able to see "YourAppName.app"


  1. On your Xcode project structure, Right click on "YourAppName.app" (it's under Products --> YourAppName.app) and "Show in finder".

There is file called "YourAppName.app.dSYM" and zip this file and upload it to the firebase. Everything worked fine. I noticed I had to upload YourAppName.app.dSYM again and again on debug mode when rebuild the app. Please let me know if anyone found a solution to that.

iOS Firebase Crashlytics not showing up crashes in Dashboard

To someone still struggling with the issue here is what resolved the issue for me.

  1. I deleted the GoogleService-Info.plist and added it again.

  2. I tried the crash on my welcome screen rather than in one of the
    screens of my tab bar controller as I believe from there it's unable
    to find GoogleServiceInfo.plist file so it worked.



Related Topics



Leave a reply



Submit