美文网首页
SDWebImage+Webp(Redefinition of

SDWebImage+Webp(Redefinition of

作者: vincent_gao | 来源:发表于2018-02-09 13:09 被阅读0次

项目中使用pod 'SDWebImage/WebP', '~> 4.3’ ,重新pod install 导致项目编译失败,错误信息:’Redefinition of 'VP8SSIMGet' as different kind of symbol’ Google+stackoverflow+github都没有找到合适的解决办法,后自己尝试解决。

解决方案:

  1. 修改pod文件 pod 'SDWebImage', '~> 4.3’ ,执行pod install,先移除libwebp,如下图:

    image.png
  1. 修改pod文件 pod 'SDWebImage/WebP', '~> 4.3’ ,执行pod install ,重新添加libwebp,如下图:

    image.png
  2. 重新编译即可

相关文章

网友评论

      本文标题:SDWebImage+Webp(Redefinition of

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