美文网首页专注iOS开发
解决cocoapods diff: /../Podfile.lo

解决cocoapods diff: /../Podfile.lo

作者: 喵星人and亦人 | 来源:发表于2016-09-27 17:23 被阅读1199次

    从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文件内的内容,好啦,至此问题解决

    参考链接:点击这里

    如果对你有用就点个喜欢吧,谢谢!

    相关文章

      网友评论

        本文标题:解决cocoapods diff: /../Podfile.lo

        本文链接:https://www.haomeiwen.com/subject/cbhnlttx.html