Reputation: 14404
I want my Xcode project to have no warnings. How can I configure Xcode such that it won't build as long as there are warnings?
Upvotes: 3
Views: 215
Reputation:
You can add the -Werr
switch to the compiler flags (on the Build phases tab, if I recall correctly). This will make the compiler treat all warnings as errors and it will choke on each warning.
Upvotes: 0