you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true`

在升级老项目的pods的时候 更新到最新pods出现报错:

[!] The following Swift pods cannot yet be integrated as static libraries:

The Swift pod `FirebaseCoreInternal` depends upon `GoogleUtilities`, 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 `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.

报错截图

you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true`_第1张图片

解决方法:

在Podfile文件上面加入use_frameworks!

you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true`_第2张图片

再次执行pod update 就可以了

你可能感兴趣的:(xcode,cocoapods)