diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory

最近更新了Xcode 8 原来的项目编译就一堆错误,在解决之前Pod中的库兼容Swift 3之前就出现了

diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory

在google、 stackover flow上面搜索了很多解决方法,

多数人都是重新执行pod install 然后重新关闭项目打开就解决了,但是我反复试了几次,甚至把原来的Pods文件夹从本地删除重新安装都不行,最后打到一个方法解决了这个问题

重新安装之前先执行下面的步骤

1、打开终端,运行sudo gem install cocoapods-deintegrate安装快速解除项目cocopods依赖的库

2、安装成功后,cd到你项目的更目录运行pod deintegrate解除项目cocopods依赖

3、运行pod install,重新安装cocopods

你可能感兴趣的:(diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory)