Firebase Upload missing required dSYMs Not Working
Asked Answered
A

5

18

Currently, I am facing issues to upload dSYMs through the new uploader script.

/path/to/Fabric/upload-symbols -gsp /path/to/GoogleService-Info.plist -p <platform> /path/to/dSYMs

I am getting success response by uploading the dSYMs

enter image description here

But no change on firebase console.

enter image description here

I have already checked the following thread:

https://github.com/firebase/firebase-ios-sdk/issues/5327

Please let me know if anyone having a solution...

Adscription answered 15/4, 2020 at 9:26 Comment(2)
Please use google-fabric tag, because fabric is unrelated to your question, it is about python library. Take a look at the description of the tagProtonema
@Ashish kakkad have u uploaded dsym through run script in build phases ? are u getting the crashes in firebase console.Lowbrow
A
2

Don't know what is going on in the Firebase Crashlytics.

But after 1 Day/24 Hours the dSYMs processed and now they are showing (Optional) in the same build.

enter image description here

Update

I have again uploaded the dSYMs today, and it uploaded quickly. Maybe some issues are there with the Firebase Crashlytics upload process!

enter image description here

https://github.com/firebase/firebase-ios-sdk/pull/5228

Adscription answered 16/4, 2020 at 6:2 Comment(0)
P
1

If this is a migrated app from Fabric, then you need to follow these directions,

"Important: If you're working with an app that you previously linked from Fabric to Firebase Crashlytics, pass in your Fabric API Key to run the upload symbols script. That is, in the following options to run the script, use -a fabric-api-key instead of -gsp path/to/GoogleService-Info.plist."

If this is not a migrated app, and you're seeing that the correct missing UUID is being uploaded, but you're still getting the missing dSYM error, then you need to write into Firebase Support so they can get your debug logs and check your session ID.

Politician answered 15/4, 2020 at 19:10 Comment(6)
Thanks but, I already checked the documents for this... This is not the issue that I am talking :)Adscription
Your issue might be related to this github.com/firebase/firebase-ios-sdk/issues/5327Politician
I cannot find this message on Firebase documentation, Is still relevant?Dede
@Dede firebase.google.com/docs/crashlytics/…Politician
@OlegKodysh I cannot find this in the documentation "Important: If you're working with an app that you previously linked from Fabric to Firebase Crashlytics, pass in your Fabric API Key to run the upload symbols script. That is, in the following options to run the script, use -a fabric-api-key instead of -gsp path/to/GoogleService-Info.plist." It actually said to move towards using FirebaseCrashlytics and do not mention if thee app is migrated or not.Dede
@Dede that's the updated documentation. What I wrote above in my answer only applies if you migrated from Fabric, and linked your app into Firebase. This is no longer possible to do, so if you haven't already done it, then no need to worry about it.Politician
G
0

Currently, it is taking (around) 24 hr to process the dSYMs (specially, if dSYM size is large), but it should improve soon.

Most Impacted Developers:

  • Fabric legacy only, not migrated customers - should no see impact
  • Fabric legacy SDK, migrated to Firebase - impacted
  • Fabric legacy SDK, onboarded via Firebase - impacted
  • Firebase SDK (currently in beta) - no impact

It is suspected that the dsym downloaded from Apple has the incorrect bundle id. Apple is setting com.apple.xcode.dsym. (e.g. com.apple.xcode.dsym.Bingo Blast).

1- As a temporary workaround, if the developer after downloading the dsym from Apple, converted all occurrences of the incorrect bundle string with the correct bundle id (e.g. com.redhotlabs.bingo), this should allow the dsym to be ingested correctly.

See an example shell script that developers could use replacing the and with the appropriate values.

export BUNDLE_ID='' export DSYM_PATH='' sed -i '' -e "s/>com.apple.xcode.dsym.*\$BUNDLE_ID\

2- Try not test-crash the app or release a potentially crashy app to users for at least 10 minutes after upload-symbols has completed and the mapping file is uploaded.

3- I would recommend to upgrade to Firebase SDK (currently in beta) to avoid this issue all to gather.

Gothart answered 17/4, 2020 at 11:2 Comment(5)
I have downloaded dSYMs from Apple.Adscription
Do you have any open case/ticked AT Fabirc or Firebase Support ?Gothart
no... as I posted in answer it has taken almost one day to process...Adscription
Currently, it is taking (around) 24 hr to process the dSYMs (specially, if dSYM size is large), but it should improve soon.Gothart
Are you sure? Do you have any documentation for this time of 24 hours?Adscription
T
0

I had the same problem. What I found:

  1. You should double-check if you can find this specific DSYM in your XCode archive. For this, open XCode->Organizer->Show In Finder-> DSYMs in bundle: try to find specific DSYM by ID from the dSYMS error Firebase panel. If any you can find with the same ID, you have to upload manually.
  2. On my practice, the delay is usually several mins, max 24 hours.
  3. Sometimes, I couldn’t find the DSYM IDs listed on Firebase in XCode archive or from AppStore downloads. What I found, that Firebase catches all distributed versions of the app. That’s why you cannot find them on AppStore if it is not on TestFlight yet. You probably can find them in your alpha archives.

However, this is my guessing. I was wondering if anyone from Firebase guys can give more info on this.

Trumantrumann answered 15/7, 2021 at 2:48 Comment(0)
S
0

install crashlytics via POD 'Firebase/Crashlytics'. download DSYMS from app store. located here --> myapps --> select your app --> testflight --> select latest build --> Build Metadata --> Download dSYM.

now run this script using Terminal directly

YOUR PROJECT POD FOLDER PATH /FirebaseCrashlytics/upload-symbols -gsp /YOUR PROJECT/GoogleService-Info.plist -p ios /Users/username/Downloads/appDsyms

more in detail step.

Open terminal, drag and drop 3 files on terminal on this order:

A--> drag an drop: "upload-symbols" which can be found in /project/Pods/FirebaseCrashlytics/upload-symbols

B--> write " -gsp "

C--> drag an drop: "GoogleService-Info.plist" which can be found in /project/GoogleService-Info.plist

D--> write " -p ios "

E--> drag an drop: "appDsyms" folder (unarchived, zip file might not work!) which usually is in Download folder /Users/username/Downloads/appDsyms

F--> Press Enter

In terminal the complete command should include -gsp and -p ios, full command looks like this: A -gsp C -p ios E

/project/Pods/FirebaseCrashlytics/upload-symbols -gsp /project/GoogleService-Info.plist -p ios /Users/username/Downloads/appDsyms

it might take some time to reflact on google firebase 24 hours.

Sop answered 19/2, 2022 at 5:43 Comment(1)
This issue is already fixed. Please check my answer. The issue was there at firebase...Adscription

© 2022 - 2024 — McMap. All rights reserved.