xcode 将警告显示为错误

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5100111/
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-14 20:18:35  来源:igfitidea点击:

xcode showing warnings as errors

iphoneiosobjective-cxcodeios4

提问by odyth

I turned on the setting "Treat Warnings as Errors" used it for a while and then turned it off however warnings still build as errors. I have restarted xcode and my pc.enter image description here

我打开设置“将警告视为错误”使用它一段时间然后将其关闭但是警告仍然作为错误构建。我已经重新启动了 xcode 和我的电脑。在此处输入图片说明

回答by bioffe

Try to override this setting on the Target level, rather than Project's.

尝试在目标级别而不是项目级别覆盖此设置。