Is there a DSYM file for .framework (other than the application)?

I am a new guy in OC programming. I am now participating in a framework development project. I know that the framework works like a library containing a group of methods. This is not an application that can run on devices. Actually, our framework will work with the client application. We want to find out what happened inside our system when the client application crashed. So, I want the DSYM file of our framework instead of the application . As far as I know, any iOS application matches “DSYM”, but I did not find “DSYM” in our framework .

Is there a "DSYM" in the iOS framework project? If this is true, how can I get it? By the way, I am using Xcode 8.1 . Thanks!

+5
source share
2 answers

According to my observations, .dSYM files are created for the iOS dynamic structure built only with the Release configuration.

After the assembly is completed, debug symbol files can be found on these paths for the device and the simulator, respectively:

<Build_Root>/build/Release-iphoneos/<Product_Name>.framework.dSYM <Build_Root>/build/Release-iphonesimulator/<Product_Name>.framework.dSYM 

Where

<Build_Root> usually a subdirectory in the Derived Data directory;

<Product_Name> is the name of your structure.

0
source

DSYM files (SYMbols debugging) usually store debugging symbols for your application. And if the application crashes, where the characters are replaced by the corresponding method name so that it can help the developer in readable form. And for this you can use the crash log, and they can be found on the iPhone where the application is installed. Each application and device has its own crash log.

Also check out this link which may help you.

Read crash report

Download Symbols for iOS Framework

We hope this helps you or helps in the right direction.

-2
source

Source: https://habr.com/ru/post/1261875/


All Articles