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

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

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.

dSYM missing from Crashlytics Swift

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?

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.

fabric.io missing dSYM even after upload

I have the error: "It looks like we are missing dSYMs to process crashes for the versions below." - I have downloaded the dSYMs in the Xcode organiser, found the .xarchive and zipped the corresponding dSYMs folder and uploaded with success; but the error does not disappear i.e. does nothing:
How can I symbolicate my crash reports?
dSYM Folder:
I just had the same issue and searching for solutions brought me here. Since this is missing an answer and I solved the issue for me, I'll resurrect this question to maybe help others having the same issue in the future.
 
Below the part shown in your first screenshot, there should be a list "REQUIRED (These are needed before crashes can be processed)" stating which UUIDs are still missing their dSYM and from which Build they are.
Just download the dSYM of the respective Build(s) like stated in the official Docs » Crashlytics » All about Missing dSYMs.
(E.g. log into iTunes, select the respective Build and click on download dSYM at the Build Details screen)
The downloaded dSYM(s) can simply be manually uploaded as you already did the other file(s).
I've tried almost all the variants, described here on stack overflow and on Fabric info page, to solve the same issue. But, unfortunately, none of them helped. And I've found a new solution, which I haven't seen here on Stackoverflow and which fitted me.
I've integrated HockeyApp with the project of my app and uploaded the build into HockeyApp (the build is uploaded there with an archive which contains dSYMs). After that the crashes started finally appearing on Crashlytics as symbolicated crashes with details.
I just had the same issue. The reason was enabled bitcode. So disable it or download dSYMs from iTC and upload them manually. I didn't find bette solutions yet.

Added Fabric/Crashlytics to new project but doesn't upload dSYM

I've just created a new iOS Swift project, using Xcode 7 beta-4, and have integrated Crashlytics (part of Fabric now) with the usual process.
It integrated all fine, and I can simulate crashes etc.
However when I go to the Crashlytics dashboard it warns me that:
Missing dSYM
We're missing a dSYM to process crashes, upload it here!
And none of the crashes show up.
Clicking the warning message (it's link is mentioned here:
http://docs.fabric.io/ios/crashlytics/crashlytics.html#troubleshooting) gives me a list UUIDs Crashlytics is missing dSYMs for.
The page gives the option to upload a dSYM, which I have tried doing (getting it from /Users/me/Library/Developer/Xcode/DerivedData/MyApp-xxxxxxxxxxxxxxxxxxxxxxxxxxxx/Build/Products/Debug-iphoneos). However after doing so this does not resolve the issue.
I've tried getting the frameworks from CocoaPods instead of manually adding them, in case that made a difference. It didn't.
-
So my only thought is perhaps Crashlytics doesn't handle dSYMs produced by Xcode 7 beta? Or is there something fundamental I've overlooked?
Many thanks for your help!
-
UPDATE:
After many back and forth emails with the Crashlytics team, this particular problem was discovered by them to be caused by changes made in one the beta Xcode 7 versions. A fix to Crashlytics was pushed out and since then it worked.
If you're experiencing similar issues, I suggest first ensuring you're using a release version of Xcode, and also the latest version of Crashlytics :)
Go to Build settings and choose Dwarf with dSym File option for both debug and release builds.
You haven't uploaded dsym ..You can get dsym file from:
Goto https://itunesconnect.apple.com> SignUp> MyApps> Activity> Then select the version of App for which the Missing dsym error is showing and download the dsym file from there...
upload it to fabric
Hope so your issue is resolved..

Resources