码迷,mamicode.com
首页 > 其他好文 > 详细

如何解决diff: /../Podfile.lock: No such file or directory 的问题

时间:2016-04-24 17:18:49      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:

之前碰到过此类问题,原因是之前用了测试版本的pod,然后回归正式版本,导致找不到pod文件
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.

现在有个解决方案

  • 方案一:

 

    收先关闭xcode 然后pod install

 

    如果不行就先删除xcworkspace  Podfile.lock Pods文件夹  ~/Library/Developer/Xcode/DerivedData路径下对应工程的文件夹

    然后 pod install

 

  • 方案二:

    pod deintegrate --verbose    

   pod install --verbose

 

    

 

如何解决diff: /../Podfile.lock: No such file or directory 的问题

标签:

原文地址:http://www.cnblogs.com/sleepybear/p/5427261.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!