Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any DSYM file for .framework (besides app)?

Tags:

objective-c

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!

like image 878
Tyler Avatar asked Dec 25 '16 15:12

Tyler


People also ask

Where can I find dSYM files?

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.

What are dSYM files?

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.


1 Answers

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.

like image 58
Yevhen Dubinin Avatar answered Sep 23 '22 05:09

Yevhen Dubinin