title: Swift pods cannot yet be integrated as static libraries FirebaseCoreInternal-library
body: <p>I am building an app by Flutter. I got this error message when doing &quot;<code>pod install</code>&quot; or &quot;<code>pod install --repo-update</code>&quot; or &quot;<code>pod update</code>&quot; and the pod install failed and stopped.</p>
  <p>The error message:</p>
  <blockquote>
  <p>[!] The following Swift pods cannot yet be integrated as static
  libraries:</p>
  <p>The Swift pod <code>FirebaseCoreInternal-library</code> depends upon
  <code>GoogleUtilities-library</code>, which does not define modules. To opt into
  those targets generating module maps (which is necessary to import
  them from Swift when building as static libraries), you may set
  <code>use_modular_headers!</code> globally in your Podfile, or specify
  <code>:modular_headers =&gt; true</code> for particular dependencies.</p>
  </blockquote>
  <p>My Podfile:</p>
  <pre><code>platform :ios, '11.0'
  
  ...
  
  target 'Runner' do
    use_frameworks!
    use_modular_headers!
  
    flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  end
  
  ...
  </code></pre>