How to suppress or ignore all warnings in Xcode?

别说谁变了你拦得住时间么 提交于 2019-11-27 07:18:44

问题


Does anyone know how to suppress all warnings in Xcode 7? I've tried pragmas and compiler flags... nothing works


回答1:


First of all, it's a really bad idea: warnings exist for a reason, you really should check each of them.

But... you want suppress every warning or just a few types there's a way, check these easy steps and turn off all or just what you need:

1) search for "show warning" in your build settings

2) under build settings search for Apple LLVM 7.0 - Warnings - All languages



来源:https://stackoverflow.com/questions/33111048/how-to-suppress-or-ignore-all-warnings-in-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!