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.
- 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"
- 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.
I deleted the GoogleService-Info.plist and added it again.
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
How to Detect Whether I Have iPhone 2G,3G,3Gs
How to Call Method from One Class in Another (Ios)
Programmatically Select All Text in Uitextfield
Detect "Allow Notifications" Is On/Off for iOS8
Facebook Login - iOS 9 - Without Safari
Uibutton in Cell in Collection View Not Receiving Touch Up Inside Event
iOS 7.1 Uitextview Still Not Scrolling to Cursor/Caret After New Line
Use Table View Disclosure Indicator Style for Uibutton iOS
Enable or Disable iPhone Push Notifications Inside the App
How to Asynchronously Load an Image in an Uiimageview
Nstimer Not Fired When Uiscrollview Event Occurs
iOS Uiview Subclass, Draw See-Through Text to Background
Integration New Facebook Sdk by Swift
How to Use Static Cells in Uitableview Without Using Storyboards
How Is Possible That "Display: Flex" and "Align-Items: Center" Do Not Work Anymore on My Iphone