iphone: Where the .dSYM file is located in crash report

后端 未结 14 1009
时光说笑
时光说笑 2020-11-28 02:18

According to this page here if you have proper application binary and .dSYM file then it is easy to symbolic them. But where are .dSYM and application binary files located?<

相关标签:
14条回答
  • 2020-11-28 02:57

    In Xcode 5.1.1 you will find it under Xcode -> Preferences -> Locations -> DerivedData. Under DerivedData you will see a bunch of random directory names. Find the ones that starts with your project name. Then get the latest directory that was created for your project. Then under that directory go to Build/Products/<Your specific release>/*.app.dSYM.

    You can even click on your end product under "Products" in project explorer and do a "Show in finder" to get there directly.

    0 讨论(0)
  • 2020-11-28 02:58

    If you haven't generated an archive and are trying to debug it on the device, dsym can be found at

    /Library/Developer/Xcode/DerivedData/YOUR_APP/Build/Products/Debug-iphoneos

    0 讨论(0)
  • 2020-11-28 02:58

    [dSYM]

    .dSYM is generated near .app..dSYM is defined by Build location[About]. Usually it is a Derived Data folder.

    For example F49088168M.app.dSYM is located

    /Users/alex/Library/Developer/Xcode/DerivedData/F49088168M-gltfsnpvscodolcmxrvkbaebeppp/Build/Products/Debug-iphonesimulator/F49088168M.app.dSYM
    
    0 讨论(0)
  • 2020-11-28 03:01

    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-11-28 03:01

    I found build configuration should be Release to generate .dSYM file.

    0 讨论(0)
  • 2020-11-28 03:02

    If you have archived your project, you can find the dSYM file as above.

    If you have build you project for a real device, you can also find the dSYM file by the following way:

    • Go to Project Navigator, and find Products folder
    • Right click the app, and choose Show in Finder.

      Make sure that the app is in black color, not red. Because red color means that you have not build the target for a real device.

    • You can find the dSYM file with the same name with your app, in the same folder.

    Before all of these actions, make sure you have configured the xcode build settings right, as follows:

    • Generate Debug Symbols setting is enabled.
    • Debug Infomation Format are set to DWARF with dSYM File.

    Hope this will help.

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