解决cocoapods diff: /../Podfile.lo
2016-09-27 本文已影响1199人
喵星人and亦人
从git上clone下来代码后,编译的时候发现以下错误:
diff: /../Podfile.lock: No such fileordirectory
diff: /Manifest.lock: No such fileordirectory error: The sandboxisnotinsyncwiththe Podfile.lock.
Run'pod install'orupdate your CocoaPods installation.
解决方案如下:
1.找到项目根目录下的Podfile.lock文件,和Pods文件夹下的Manifest.lock文件
2.然后复制Podfile.lock文件的内容替换掉Manifest.lock文件内的内容,好啦,至此问题解决
参考链接:点击这里