If the file is actually a framework header, include this line at the top of it:
#pragma clang system_header
See the relevant clang manual page for more information:
https://clang.llvm.org/docs/UsersManual.html#controlling-diagnostics-in-system-headers
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: