问题:pod update 后 三方库的方法都报错,所有的库 都报错了 (
不是代码里面报错,是pods导入的三方库报错
)
尝试解决:1,是有一些库进行了代码升级,接口进行了变动。一般用pod install就可以了,update如果要避免接口变动,后面用~>进行版本限制。
2,库版本已经升级过了,再install肯定不行。
不用最新的,用你原来的才行,要手动去把版本限制成你之前的
3,试试把podfile里面的所有库注释掉,然后install,清空这些库,然后解除注释,把版本限制,重新安装试试
4,把podfile文件和pod库文件夹,workSpace文件以及所有相关的文件全部删掉,重新搭建cocoapods环境