简体   繁体   English

Dsymutil警告“可执行文件中没有调试符号”

[英]Dsymutil warning “no debug symbols in executable”

I am working on eliminating warnings for an iOS program in Xcode by fixing the problems causing the warnings as much as possible. 我正在努力消除Xcode中iOS程序的警告,尽可能地解决导致警告的问题。 Thankfully, I have been mostly successful at this, but I have two warnings which refuse to go away: I get a report of a "Dsymutil warning", which the relevant log says is reported when it tries to generate a .dSYM file. 值得庆幸的是,我在这方面取得了很大的成功,但我有两个警告拒绝消失:我得到一个“Dsymutil警告”的报告,当尝试生成.dSYM文件时会报告相关日志。 The two warnings are: 这两个警告是:

warning: no debug symbols in executable (-arch armv7) 警告:可执行文件中没有调试符号(-arch armv7)

warning: no debug symbols in executable (-arch arm64) 警告:可执行文件中没有调试符号(-arch arm64)

I can make these warnings vanish by cleaning and cleaning the build folder. 我可以通过清理和清理构建文件夹来消除这些警告。 However, they'll simply show up again when I compile again. 但是,当我再次编译时,它们会再次出现。

Relevant statistics: 相关统计:

Phones tested: iPhone 5s, iPhone SE 手机测试:iPhone 5s,iPhone SE

OS: iOS 10.3.2 操作系统:iOS 10.3.2

Development environment: Xcode 8.3.2 开发环境:Xcode 8.3.2

Build Active Architecture Only: No 仅构建活动架构:否

Does anyone have any idea why I'm getting these warnings, and are they anything to worry about? 有谁知道为什么我会收到这些警告,他们有什么需要担心的吗? I'm not really finding anything particularly relevant via Google or in Apple's documentation. 我并没有真正通过Google或Apple的文档找到任何特别相关的内容。

Thanks in advance for any help anyone can provide. 提前感谢任何人都可以提供的帮助。

In your target Build Settings, try to turn on DWARF with dSYM, debugging symbols, and deployment postprocessing. 在目标Build Settings中,尝试使用dSYM,调试符号和部署后处理打开DWARF。 Hope this will help... 希望这会有所帮助......

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM