What's the difference between DWARF and DWARF with dSYM file?

前端 未结 5 523
春和景丽
春和景丽 2021-02-02 06:32

XCode supports those 2 values for this Build Setting:

Build Settings > Build Options > Debug Information Format.

Could anybody explain the differences?

5条回答
  •  醉酒成梦
    2021-02-02 06:40

    The difference is that in the case of DWARF with dSYM file your Archive app.xcarchive (for adHoc distribution) contains also dSYM file needed for reverse symbolication of your code in crash reports. In general, .xcarchive contains

    dSyms
    Products
    info.plist
    

    So if you need it for external analysis of crash reports under archiving you app for distribution you should use DWARF with dSYM file.

提交回复
热议问题