9

I recently discovered problems reading Crashlytics reports for crashes in Swift code.
In the picture below you can see what happend to the method names. I've highlighted the interesting information in it:

String+File.swift line 21 $SSo7UIImageC7mymoduleE4load_5blocky10Foundation3URLV_yABSg_s5Error_pSgtctFZ080$S7mymodule23ProfileViewControllerC18loadProfilePictureyy10Foundation3URLVFySo7a6CSg_s5G9_pSgtcfU_AC0ijK0CSgXwz_XxTf1ncn_nTf4ndn_n

It is still usefull but harder to read and understand. Even though, sometimes it doesn't help at all.

I just wonder if there is a way to fix this.

Lukas Würzburger
  • 6,543
  • 7
  • 41
  • 75
  • `xcrun swift-demangle` most likely is what you are looking for – Mindaugas Nov 13 '18 at 09:39
  • @Mindaugas is right. [here](https://mikeash.com/pyblog/friday-qa-2014-08-15-swift-name-mangling.html) is more on Swift mangling – fewlinesofcode Nov 13 '18 at 10:18
  • I'm experiencing the same issue. [This](https://fabric.io/blog/2016/09/08/how-crashlytics-symbolicates-1000-crashes-every-second/) may lead to something (the "Dealing with mangled symbols" section). It could be related to the migration they're making to the Firebase, because it has started a couple days ago for me, with an app already in production. – Guilherme Matuella Nov 13 '18 at 10:36
  • 2
    Mike from Firebase and Fabric here. Any symbolication changes are unrelated to any migrations. If you can contact support(at)fabric(dot)io with a link to the issues that you believe aren't being symbolicated correctly, please do so that we can dig in more. – Mike Bonnell Nov 13 '18 at 13:02

1 Answers1

0

I had the same issue. It seems to be issue on Crashlytics side. When you use latest (Crashlytics 3.11.1, Fabric 1.8.2) Frameworks then issue is visible. Workaround is to use oldest version. For example: (Crashlytics 3.10.7, Fabric 1.7.11). I reported this bug to Crashlytics support team.

  • Can you please confirm these versions (Crashlytics 3.10.7, Fabric 1.7.11) provides a solution for this problem? Recently I tried to use these versions and reports are still wrong mangled. – SerhiiK Dec 14 '18 at 16:52