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

后端 未结 14 1010
时光说笑
时光说笑 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 03:03

    If you removed archive from Xcode's Organizer like me, you can download dsym at the appstore. Select your app, select target version and go to Activity tab. Here you can download desired dsym.

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

    It's simple. Please follow the steps here:

    1. Open your project in Xcode, and select the project file in the Xcode Navigator.
    2. Select your main build target from the Select a project or target dropdown.
    3. Open the target's Build Settings tab.
    4. Click All near the top of the tab.
    5. Search for "debug information format".
    6. Set Debug Information Format to DWARF with dSYM File.

    Now go to Product > Archive > Your Build > right click on your build and click on Show in Finder. Now right click and go to Show Package Contents > dSYMs > Yourappname.app.dSYM_

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

    I just want to share something from my experience. Every time when I release a new version of my framework I save its dSYM in a separate folder. So, later I can find the relevant dSYM easily when I need it. It could be easily done by adding this line of code to the bash script in Build Settings (e.g. in this example I'm saving it to the desktop).

    cp -r "${BUILD_DIR}/${CONFIGURATION}-iphoneos/${FRAMEWORK_NAME}.framework.dSYM" "${HOME}/Desktop/${FRAMEWORK_NAME}.framework.dSYM"
    
    0 讨论(0)
  • 2020-11-28 03:12

    I found my .dsym file in /Users/<username>/Library/Developer/Xcode/DerivedData/<appname>/Build/Products/<appname>

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

    1.Select Window -> Organizer

    2.Right click on Archive(your app name) and select 'Show in Finder'

    3.Select 'Show Package Content' for archive

    4.Right click on yourProject.xcarchive contains dSYMs, Info.plist and Products

    5.select yourappname.app.dSYM

    0 讨论(0)
  • If you have the UUID you are looking for, you can search the files with the following command:

    mdfind "com_apple_xcode_dsym_uuids == <UUID>"
    
    0 讨论(0)
提交回复
热议问题