I am a new guy in OC programming. Now I am involved in a framework development project. I know the framework works as a library, which contains a group of methods. It's not an application that can run on devices. Actually, our framework will work with customer's application. We want to investigate what happened inside our framework when customer's application crashed. So I want the 'DSYM' file of our framework, instead of an application. As far as I know any iOS application does have corresponded 'DSYM', but I didn't find the 'DSYM' of our framework.
Does iOS framework project have 'DSYM'? If it does have, how can I obtain it? By the way, I am using Xcode 8.1. Thanks!
Find dSYMs on a local machine app lives (by default, the Products the directory is located in Derived Data ). If your app is released to production, you can also look for its dSYM in the . xcarchive directory on disk: In Xcode, open the Organizer window and select your app from the list.
A dSYM file is an ELF file that contains DWARF (debugging with attributed record formats) debug information for your application. DWARF is a debugging file format that supports source-level debugging.
According to my observations, .dSYM files are generated for iOS dynamic framework built with Release configuration only.
After build succeeds, the debug symbols files can be found at these paths, for a device and simulator, respectively:
<Build_Root>/build/Release-iphoneos/<Product_Name>.framework.dSYM
<Build_Root>/build/Release-iphonesimulator/<Product_Name>.framework.dSYM
, where
<Build_Root>
is usually a subdirectory within Derived Data
directory;
<Product_Name>
is the name of your framework.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With