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

Debug warning Xcode - dwarf-with-dsym?

我在编译时收到此警告:

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. 转到您的项目设置
  2. Select 你的目标
  3. 转到构建设置
  4. 向下滚动到调试信息格式(确保选择所有设置)
  5. 使用 dSYM 文件将值设置为 DWARF