Does anyone know how to suppress all warnings in Xcode 7? I've tried pragmas and compiler flags... nothing works
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