dSYM missing from Crashlytics Swift - ios

I'm implementing Firebase Crashlytics and after a bit of toggling I managed to get crashes reported to Firebase. The one thing is not working dough is dSYM . I tried documentation guide but Firebase console is still asking for them.
I added another script apart from the Fabric one, containing this line"${PODS_ROOT}/Fabric/upload-symbols" -gsp "${PROJECT_DIR}/GoogleService-Info.plist" -p ios "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"as documentation stated. But nothing.. Is there some extra steps that are not detailed in documentation?

Related

Firebase crashlytics script in iOS(2021) not working via Testflight

I am trying to integrate firebase crashlytics into iOS app.
During integration I added run script to upload crashes automatically.
I connected my iPhone_XR to Xcode and ran in release mode. Then I force crashed.I repeated it several times. After few hours of waiting I was able to see the crashes. Confirming that this is working as expected I archived and released this build(DEV) to testflight via xcode.
I did the same force crashed after installing via testflight but this time its not working... Most of the people suggested to upload manually but I am afraid I can't do that as I don't have access to client application(PROD) and also maintaining the crashes report manually is a tidious process to me
Please help me what exactly is happening with Firebase crashlytics. I checked many blogs and github issues for understanding. Most of them are saying to upload manually dSYM files.
Note: GoogleServices file is inside some folder so I gave the path of that in script. I tried to add directly without any sub-folders also but issue still persists.
4-MAR crashes are from my phone which are crashed during testing.
I am supposed to receive some crashes on 5-MAR which are crashed via Testflight but it's saying missing dSYM files
Please help with this issue. I am not unable to find proper solution from past 2 months
Try this script:
${PODS_ROOT}/FirebaseCrashlytics/run
${PODS_ROOT}/FirebaseCrashlytics/upload-symbols -gsp $PROJECT/GoogleService-Info.plist -p ios "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"
Also, Firebase recently updated their SDK.

"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

Firebase Crash log not reporting for IOS React Native app

I have implemented all the steps depicted in firebase official document for Firebase Crashlytics. I have cross-checked few times to make sure I don't miss any step.I referred this doc for implementation [;lsteps for implementation Also I uploaded DSYM files in firebase console assuming if dSYM files are not generating automatically. Still no crash is appearing in firebase console. I forced a crash for testing as mentioned in this docenter link description herebut no luck. Can someone please help me get crash logs in my firebase console?
Note: It is working perfectly in Android and logging crashes in console for Android.
iOS Crashalytics started working once I unlinked it from fabric.

crashes don't appear on crashlytics

I have searched a lot for a solution to my case but no answer. I proceed with the installation for crashlytics on iOS, but the crashes don't appear on crashlytics. There are no missing DSYM, and I set the 'Debug Information Format' to 'DWARF with dSYM File'. I tried a lot of solutions but no one fit my case. Any help is appreciated!
when I press run I get the following from fabric window
the updated output of the console when I press run
Looking at the output from your log, it seems like you're using Firebase Crash Reporting and not Firebase Crashlytics. If you want to use Crashlytics, you need to remove the Firebase Crash Reporting SDK (you can't have 2 exception handlers in iOS apps) and then follow the instructions for installing and setting up Firebase Crashlytics.

Resources