美文网首页
[!] The following Swift pods can

[!] The following Swift pods can

作者: georgegrape | 来源:发表于2022-07-12 11:06 被阅读0次

    当我是用cocoapods安装‘KingfisherWebP’的时候,会报错:

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

    The Swift pod `KingfisherWebP` depends upon `libwebp`, 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 install问题解决。

    相关文章

      网友评论

          本文标题:[!] The following Swift pods can

          本文链接:https://www.haomeiwen.com/subject/amzobrtx.html