項目中使用pod 'SDWebImage/WebP', '~> 4.3’ ,重新pod install 導(dǎo)致項目編譯失敗,錯誤信息:’Redefinition of 'VP8SSIMGet' as different kind of symbol’ Google+stackoverflow+github都沒有找到合適的解決辦法,后自己嘗試解決。
解決方案:
-
修改pod文件 pod 'SDWebImage', '~> 4.3’ ,執(zhí)行pod install,先移除libwebp,如下圖:
image.png
-
修改pod文件 pod 'SDWebImage/WebP', '~> 4.3’ ,執(zhí)行pod install ,重新添加libwebp,如下圖:
image.png 重新編譯即可

