Crashlytics report is not showing on firebase console - ios

After showing
"[Firebase/Crash][I-CRA000004] Successfully initialised"
in the xcode console.No crash report is submitted, even after crashing the application and firebase console is showing
"App detected we're waiting for a crash"
[enter image description here]
https://i.stack.imgur.com/CJmlG.png
We have followed every step as per the firebase doc
We have added google service info.plist.
We have added the script along with its input files.
We have added "${PODS_ROOT}/FirebaseCrashlytics/run" script in the end
We have tried both cocoa pods and packages
[enter image description here]
https://i.stack.imgur.com/jZcW4.png
enter image description here

Install FirebaseCrashlytics instead of FirebaseCrash.
The initialization message posted comes from the deprecated FirebaseCrash instead of the supported FirebaseCrashlytics.
Share the Podfile if you're still stuck.

You might need to set up Xcode to upload dSYM files to firebase to see the crashes on firebase dashboard else those will be there in the dSYMS section. You can see the steps here to set up Xcode for this - https://firebase.google.com/docs/crashlytics/get-started?platform=ios.

Related

"Upload missing dSYMs to see crashes from 1 versions" on Firebase Crashlytics

After several hours spent on this forum trying to test a lot of solutions, I need your help.
For the first time, I faced the following message on Firebase Crashlytics which does not allow me to see crashes reports : "Upload missing dSYMs to see crashes from 1 versions".
I tried to follow the steps explained on the Firebase documentation finding the dSym files on my computer (it seems it's not possible to download them from AppleStore Connect) on two different locations :
/Users/sebastien/Library/Developer/Xcode/Archives/2020-11-15/MyApp\ 15-11-2020\ 21.26.xcarchive/dSYMs
/Users/sebastien/Library/Developer/Xcode/DerivedData/MyApp-dqcgovtkqjsbjdciehfjshknjraj/Build/Products/Debug-iphonesimulator
I uploaded them and, despite of the successful message "Successfully uploaded Crashlytics symbols", it does not change anything on Firebase.
Some useful information:
I'm using the following run script for Crashlytics : "${PODS_ROOT}/FirebaseCrashlytics/run" (without any input files so far but it did not cause any trouble so I assume it does not come from this), as explained in the Firebase Get Started
The "Debug Information format" setting is indeed set to "DWARF with dSYM file" for all targets
I'm using Pods in my project
What can I do more to finally have the crash reports available on Firebase as for all my previous versions ?
Thank you in advance.
you should add this script to following run script:
"${PODS_ROOT}/Fabric/upload-symbols" -gsp "${PROJECT_DIR}/GoogleService-Info.plist" -p ios "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"
and no need to add this : ${PODS_ROOT}/FirebaseCrashlytics/run

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.
This is a fresh project Firebase Crashlytics works fine with the earlier projects created using Fabric.
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
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
Go to Build Settings -> Debug Information Format -> Set all of them to DWARF with dSYM file
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
Stage a crash in your application as described here
Disconnect your device / simulator from the debugger AKA launch it on your own rather than running it from XCode and then perform the crash
I was now able to see the above loading disappear and I could see my crash statistics instead

iOS - Use the "upload script "to upload Dsym file in Crashlytics with version 3.14.0

How can I add the Dsym file using the upload script even if I didn't updated the Crashlytics version? I have the 3.14.0 version of it so I don't have the FirebaseCrashlytics directory in and I just published my app. Now I'm stack because in the Firebase console -> Dsym screen, it gives me only the way of use the script and not the old way (upload the Dsym file from my Mac manually).
Right now, I can see few crashes from Xcode -> Organizer but I'm not sure that all the crashes are tracked in it.
Fabric/Firebaser here - if you're on the legacy Crashlytics SDK, you'll notice that rather than having something like FirebaseCrashltyics.framework imported into your app, you should have something like Crashlytics.framework. Either one has an upload-symbols script as part of the installation, so use whichever one is supplied as part of the Crashlytics installation. Attaching two screenshots to show the difference.
legacy Fabric Crashlytics
Firebase Crashlytics

Swift Crashlytics without cocoapods and fabric API Key not showing dashboard or any data

I have implemented firebase Crashlytics in my swift projects without cocoapods. I have done the following task so far. But still, not getting anything on the dashboard.
Created project in firebase console. Downloaded the plist file and added to project.
Added the firebase library all with Firebase.h header file. Then added the header with an Obj-c bridge header file from settings. Also fabric and Crashlytics library.
Added the run script.
In appdelegate, didFinishLaunchingWithOptions() , added these 3 lines.
FirebaseApp.configure()
Fabric.sharedSDK().debug = true
Fabric.with([Crashlytics.self])
In a viewcontroller, added the following line, run on the simulator, make a crash, relaunch the apps. So that I can expect it to upload on the dashboard. Nothing found in the log, just see firebase enabled. Crashlytics version ...
Crashlytics.sharedInstance().crash()
From project settings i set , Debug Inforation Format : DWARF with dSYM File
But I see nothing on the dashboard. I don't use any API key in my Plist, I just using the plist in my project. What could be my problem?
I think I know what the issue is. You're probably running in the Simulator with the debugger attached.
Crashlytics can’t capture crashes if your build attaches a debugger at launch.
Docs for forcing a crash: https://firebase.google.com/docs/crashlytics/force-a-crash
To fix this, go to your app in the Simulator w/o the debugger attached and reproduce your crash. You should see your crash in the Firebase console.

Unable to upload missing DSYM files In Fabric Crashlytics with Bitcode enabled to NO

I have Implemented Fabric Crashlytics in my project manually. And in my application I'm using an external device connection for that I'm using an SDK, so for that SDK I have set bitcode to NO in my project. Before It used to work fine and I used to find my crash reports in crashlytics. But all of a sudden since from a week It is asking for missing DSYM files, and I'm not able to find any crash reports in crashlytics Dashboard. I have followed Fabric Doc and tried to upload DSYM zip files manually. But no luck as I got stuck in the same page with processing message as shown in below link.
enter image description here
https://docs.fabric.io/apple/crashlytics/missing-dsyms.html
Can any one walk me out from this? Thanks In Advance.

Resources