标签:
最近把以前代码放到新电脑上运行,在执行pod update之后build工程遇到如下提示:
diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock.
Run ‘pod install‘ or update your CocoaPods installation.
google一圈之后,找到两个解决方案:
关闭Xcode,重新执行pod install,之后再重新打开Xcode运行。
稍微复杂一点,删除以下文件:
xcworkspace
Podfile.lock
Pods文件夹
~/Library/Developer/Xcode/DerivedData路径下对应工程的文件夹
然后重新执行pod install
如果以上两个方案对你有用的话,恭喜你,下面的可以不用看了,如果你像我一样倒霉,仍然运行不起来的话,来来来,咱们继续。
解决cocoapods diff: /../Podfile.lock: No such file or directory
标签:
原文地址:http://blog.csdn.net/helloworld183/article/details/51360775