How to create dSYM file in XCode 4?

前端 未结 5 1175
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-23 16:16

Can you please let me know how can I create .dSYM file using XCode 4?

Thanks!

相关标签:
5条回答
  • 2020-12-23 17:00

    Update for Xcode 4.3.1

    For me there was 2 build settings I had to edit and I had to edit them in the PROJECT and in the TARGETS sections before XCODE would generate dSYMs.

    1) Build Settings -> Build Options -> Debug Information Format = DWARF with dSYM

    2) Build Settings -> Apple LLVM compilier 3.1 - Code Generation -> Generate Debug Symbols = YES

    Hopefully this will help someone else because I spent a few hours banging my head against the wall with Archives that had empty dSYM directories... I "love" XCODE sometimes....

    0 讨论(0)
  • 2020-12-23 17:06

    You can find dSYM in Product, see below images:

    1. Right click to your App > Show in Finder

    get dSYM - 1

    1. Here is it.

    get dSYM - 2

    1. If you use Crashlytics , you need to zip it then upload it to dashboard.

    enter image description here

    0 讨论(0)
  • 2020-12-23 17:09

    You can locate .dSYM and application binary file in archive.

    1. Select Window -> Organizer

    Step 1

    1. This will open up Organizer window containing last created Archive of project
    2. Right click on Archive and select 'Show in Finder' Step 3
    3. Select 'Show Package Content' for archive Step 4
    4. Project.xcarchive contains dSYMs, Info.plist and Products Step 5

    dSYMs folder contains dSYM file of your project.

    Application folder in Project contains application binary of your project.

    0 讨论(0)
  • 2020-12-23 17:16

    If you archive the application the dsym file is in the xarchive. Right-click on the entry in the organizer, do "show in finder", right click on the xarchive and choose "show package contents". The dsym is in the dSYMs directory.

    0 讨论(0)
  • 2020-12-23 17:21

    Make sure you have selected "DWARF with dSYM File" as the Debug Information Format in the build settings of your application. The dSYM is then generated automatically when you build and is usually placed in the same folder as the resulting .app.

    0 讨论(0)
提交回复
热议问题