GoogleDataTransport is throwing Double-quoted include in framework header expected angle-bracketed error on iOS14

后端 未结 6 1183
感动是毒
感动是毒 2020-12-09 01:28

I\'ve just update XCode to Version 12 and I\'m using Firebase. I\'ve updated pods as well but when I build the project it\'s giving me error:

Double-quoted in         


        
6条回答
  •  爱一瞬间的悲伤
    2020-12-09 02:01

    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'
    

    Alternative solution

    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
      end
    end
    

提交回复
热议问题