Symbolicating crash report pointing to some wrong method

We are developing an Xcframework that contains Objc + Cpp code. Cpp code is internal to the framework so we are stripping all the symbols. Framework is using few build options to strip off internal symbols:

  1. Build PostProcessing - Yes
  2. Strip Style - Non-Global Symbols
  3. Other Cpp flags - $(OTHER_CFLAGS) -fvisibility-inlines-hidden -fvisibility=hidden

Now when a crash happens due to "abort()" function, the topmost symbol (of the framework) is symbolicated to totally different method. But if crash happens due to some other reason, then symbolication works fine. We have tried atos command as well as Mac symbolicator. Both show same behaviour.

To explain the issue in more details, here is a GitHub link. It contains all the details on how to reproduce the issue. Build settings are similar to our project settings.

https://github.com/bmahajanZ/apple-build-issue

It looks like you accidentally created a duplicate thread here, so I'll answer your other thread.

— Ed Ford,  DTS Engineer

Symbolicating crash report pointing to some wrong method
 
 
Q