Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create dSYM file in XCode 7.0

Tags:

xcode

dsym

I am creating dSYM file in XCode 7.0, After archiving my project, I can't find my dSYM file. I referred to lots of sites from stack overflow and followed many instructions but I could not find my dSYM file on any Folder available. Please any one help me.

Please instruct me what are the properties I need to Enable in app Build settings.

Thanks.

like image 901
Vinayak Avatar asked Apr 27 '16 07:04

Vinayak


People also ask

What is a dSYM file?

A dSYM file is a "debug symbols file". It is generated when the "Strip Debug Symbols" setting is enabled in the build settings of your project.

Where does Xcode store dSYM files?

The created archive contains your app and its dSYM and is stored within Xcode's derived data directory. Thanks for contributing an answer to Stack Overflow!

Where can I find the device Sym file?

The exact location depends on your project's build settings: If you have enabled device-specific builds, the .dSYM can be found in the following directory: <project directory>/bin/<platform>/<configuration>/device-builds/<device>-<os-version>/.

Is it possible to read crash report without dSYM?

With a stripped binary, you won't be able to read any crash reports without first re-symbolicating them. Without the dSYM the crash report will just show memory addresses of objects and methods. Xcode uses the dSYM to put the symbols back into the crash report and allow you to read it properly.


2 Answers

in xcode -> window -> orgnizer

or xcode - > product -> Archive

you see Archives window

1 Select any Archives of your app Right click on it Then select show in finder

2 you see aapname.xcarchive file Right click on it and select show package contents

3 you see dSYMs folder open it and get .dSYM file

:)

like image 183
balkaran singh Avatar answered Sep 19 '22 22:09

balkaran singh


Make sure you have Debug with DWARF with dSYM File enabled

Click on your Project -> Build Settings -> Build Options -> Debug -> DWARF with dSYM File

(see picture below)

enter image description here

like image 45
Danny Yassine Avatar answered Sep 20 '22 22:09

Danny Yassine