I want my Xcode project to have no warnings. How do I configure Xcode so that it doesn't build as long as there are warnings?
set treat warnings as errors = YES in build settings
treat warnings as errors = YES
You can add a switch -Werr to the compiler flags (on the Build Phases tab if I remember correctly). This will cause the compiler to treat all warnings as errors, and it will suppress every warning.
-Werr