It´s a issue with the clang static analyzer. Add to your existing analyzer entry under “Target” -> “Build Phases” -> “Compiler Flags” the suffix -Xanalyzer deadcode.
Complete entry should read as follows:
-w -Xanalyzer -analyzer-disable-checker -Xanalyzer deadcode