Kingfisher不支持webP格式的图片,此时需要借助于KingfisherWebP,当 pod "KingfisherWebP" 的时候,发现会卡在 pod "libwebp"。
解决办法如下:
1、打开 前往文件夹 输入一下内容
/用户/mac/.cocoapods/repos/cocoapods

2、然后依次点击Specs-->1-->9-->2-->libwebp
3、找到你pod的对应的版本,打开libwebp.podspec.json文件。


4、用 https://github.com/webmproject/libwebp.git 替换里面的git路径,下图标出的地方

5、然后再进行pod install
网友评论