Anand
Anand

Reputation: 1129

Added Google Crashlytics in iOS - Does not connected to Firebase Crashlytics Dashboard

https://firebase.google.com/docs/crashlytics/get-started?authuser=2

I followed this link and the Firebase Analytics connected and showed events, but Firebase Crashlytics is not showing any crash, it isn't even able to connect to App.

And keeps showing the following image when clicked on Crashlytics in Left panel from Firebase Console.

enter image description here

This is a fresh project Firebase Crashlytics works fine with the earlier projects created using Fabric.

Upvotes: 4

Views: 1125

Answers (2)

Shawn Frank
Shawn Frank

Reputation: 5213

For some reason, following the Firebase docs did not work for me as I had to do a few additional things for the "Add the SDK" loading screen to disappear on the Firebase portal and show me the crashes.

In addition to what the Firebase docs say, I did the following in addition to this answer which I have also outlined on a similar issue here

  1. Go to Build Settings -> Debug Information Format -> Set all of them to DWARF with dSYM file
  2. Go to Build Phases -> Add an additional run script and input the following
${PODS_ROOT}/FirebaseCrashlytics/upload-symbols -gsp ${PROJECT_DIR}/Your_path/GoogleService-Info.plist -p ios ${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}

Remember to replace {PROJECT_DIR} appropriately for your project

  1. Stage a crash in your application as described here

  2. Disconnect your device / simulator from the debugger AKA launch it on your own rather than running it from XCode and then perform the crash

  3. I was now able to see the above loading disappear and I could see my crash statistics instead

Upvotes: 0

Anand
Anand

Reputation: 1129

I resolved this issue by Adding Run Script as shown in Firebase, also I did a fresh start.

https://firebase.google.com/docs/crashlytics/get-started

Upvotes: 2

Related Questions