How to suppress or ignore all warnings in Xcode?

后端 未结 1 1864
逝去的感伤
逝去的感伤 2020-12-11 11:28

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

相关标签:
1条回答
  • 2020-12-11 12:07

    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

    0 讨论(0)
提交回复
热议问题