objective-cswiftxcodeios14xcode12

Xcode 12, How to suppress "Double-quoted include in framework header" warnings throughout entire project


With Xcode 12 there is a new default warning which will throw a warning anywhere you #import or #include with "quotes.h" instead of <brackets.h>.

Warning: "Double-quoted include in framework header"

How do you turn off this warning for the entire project?


Solution

  • I think a simpler way is to go in the project's Build Settings a just set the option "Quoted Include In Framework Header" CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER to No :

    enter image description here