xcode将警告显示为错误 [英] xcode showing warnings as errors

查看:146
本文介绍了xcode将警告显示为错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打开将警告视为错误设置使用了一段时间,然后将其关闭,但警告仍然构建为错误。我已经重新启动了xcode和我的电脑。

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.

推荐答案

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

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

这篇关于xcode将警告显示为错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆