调试警告Xcode - dwarf-with-dsym?

时间:2016-10-25 17:37:16

标签: ios swift xcode swift3 simulator

我在编译时收到此警告:

DEBUG_INFORMATION_FORMAT should be set to dwarf-with-dsym for all configurations. This could also be a timing issue, make sure the Fabric run script build phase is the last build phase and no other scripts have moved the dSYM from the location Xcode generated it. Unable to process FieldSense.app.dSYM at path /Users/dnb/Library/Developer/Xcode/DerivedData/myApp-ggomikgtclrabvaoqmbwhjyudhxy/Build/Products/Debug-iphonesimulator/myApp.app.dSYM

如何解决?

1 个答案:

答案 0 :(得分:57)

要解决此问题:

  1. 转到您的项目设置
  2. 选择目标
  3. 转到构建设置
  4. 向下滚动到“调试信息格式”(确保选择“所有设置”)
  5. 使用dSYM文件
  6. 将值设置为DWARF

    enter image description here