Skip to content

FirebaseCrashlytics run vs upload-symbols -- missing optional dsyms #5569

@dloic

Description

@dloic

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 11.2.1
  • Firebase SDK version: 6.17.0, 6.24.0
  • Firebase Component: Crashlytics
  • Component version: 6.17.0, 6.24.0
  • Installation method: Carthage

[REQUIRED] Step 2: Describe the problem

We're seeing missing optional dsym for our apps since a month now and we can't explain why it's happening. As said in the Firebase console, it's only affecting result and grouping, but still we would like to understand why it's like this and what did broke our integration. We've seen this behavior on ad-hoc build without bitcode (we generate dsym) and also on store build (bitcode enabled, dsym pulled from ASC).

Steps to reproduce:

To reproduce the issue, I've run a test outside of our CI, to ensure the problem is not there.
Initial steps to ensure app is compiled and dsym are uploaded:

  • Xcode clean
  • Xcode build for device arch
  • Xcode archive

As seen in screenshot below, it seems everything is fine during symbols upload:

Capture d’écran, le 2020-05-11 à 14 32 20

In the app, we have a way from our debug menu to trigger a crash, to easily test our Crashlytics integration is working from release to release. After the build is installed on a device (ad-hoc distribution), I simply open the debug menu and crash the app. Result in Firebase console:

Capture d’écran, le 2020-05-11 à 14 40 11

Capture d’écran, le 2020-05-11 à 14 31 02

This is telling us we're missing the AA71654B-XXX dsym, with turns to be the one generated for Eureka third-party. Having a look within the Xcode archive and using dwarfdump, I can confirm this dsym has been properly generated:

Capture d’écran, le 2020-05-11 à 14 31 38

I then manually upload-symbols. End result is now the console is able to properly symbolicate new crashes (not older ones):

Capture d’écran, le 2020-05-11 à 15 11 10

Capture d’écran, le 2020-05-11 à 14 55 34

Does it means that during build, upload was somehow not successful? Or we're missing something in our integration?
As for our full update path, we were using Fabric Crashlytics for a while, and we did migrate to FirebaseCrashlytics with Firebase 6.17.0 in Feb. I'm currently updating Firebase to latest (6.24.0), but it seems the issue is still there.

Thanks for your help!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions