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

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/40246269/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 09:29:47  来源:igfitidea点击:

Debug warning Xcode - dwarf-with-dsym?

iosswiftxcodeswift3simulator

提问by Recusiwe

I get this warning upon compilation:

我在编译时收到此警告:

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

How to solve?

怎么解决?

回答by Rashwan L

To solve this issue:

要解决此问题:

  1. Go to your project settings
  2. Select your target
  3. Go to Build settings
  4. Scroll down to Debug Information Format (make sure to choose All settings)
  5. Set the values to DWARF with dSYM File
  1. 转到您的项目设置
  2. 选择你的目标
  3. 转到构建设置
  4. 向下滚动到调试信息格式(确保选择所有设置)
  5. 使用 dSYM 文件将值设置为 DWARF

enter image description here

在此处输入图片说明