Closed defagos closed 3 years ago
Also easy to reproduce with SRG Media Player demo. Therefore I suggest we proceed as follows:
If bcsymbolmap is complete for 2 but not for 3, check whether there is a setting which can fix the issue. Make both apps crash on a device and collect the symbolicated crash reports in the organizer as proofs.
If a bug is found open a dedicated report.
bcsymbolmap not better with Xcode 12.3 beta 1.
The symbolication issue itself is an SPM 5.3 bug, affecting all packages containing resources. I opened a bug report: https://openradar.appspot.com/radar?id=5030814031020032
I also opened a thread on the Swift forums: https://forums.swift.org/t/incomplete-crash-log-symbolication-for-bitcode-enabled-apps-linked-with-packages-containing-resources/42696/2
After a comment in the Swift forums, I tested with Xcode 12.5 beta 1 and it's really better. 👍
Recent releases of Play SRF or SRF Sports have crash reports omitting part of the stack trace:
instead of something more explicit (here the same crash in an old Play version, not obtained via symbolication of a recent crash log of course since this does not work):
Normally the bcsymbolmap should take care of turning _hidden stuff into readable symbols, but in this case it does not.
I archived Play SRF again with Xcode 12.2 and checked the bcsymbolmap. It already contains hidden symbols, which explains why those are still hidden in the final output. The bitcode symbol map is simply incomplete.
This issue might be related to SPM, as this post suggests. The same person posted a message on the Swift forums but received no answer.