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

2024-01-09 18:34:24

在升级老项目的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.

报错截图

解决方法:

在Podfile文件上面加入use_frameworks!

再次执行pod update 就可以了

文章来源:https://blog.csdn.net/win_huanglian/article/details/135464918
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。