Xcode 12, How to suppress "Double-quoted include in framework header" warnings throughout entire project
I think a simpler way is to go in the project's Build Settings a just set the option Quoted Include In Framework Header
to No :
You can disable these warnings for your entire project by navigating to your project's "build settings", finding the field "other linker flags" and adding the following flag:
-Wno-quoted-include-in-framework-header
Looks like this issue is fixed as part of Cocoapods 1.10.1
(not officially released, as of this writing). However, you can use Cocoapods version 1.10.0.rc.1
temporarily until 1.10.1 is officially available.
gem install cocoapods -v '1.10.0.rc.1'
Another option is to update your Podfile (add below code) to disable the warning flag CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER
setting for all pods in your project.
post_install do |installer| installer.generated_projects.each do |project| project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER'] = 'NO' end end endend