首页 > 移动平台 > 详细

iOS \'The sandbox is not sync with the Podfile.lock\'问题解决

时间:2016-05-31 18:48:22      阅读:236      评论:0      收藏:0      [点我收藏+]

 

iOS \‘The sandbox is not sync with the Podfile.lock\‘问题解决

技术分享

HUANGDI

发表于 2015-02-27 09:51:13

问题描述:

github下载的Demo,很多时候使用到CocoaPods,有的时候因为依赖关系或者版本问题不能编译运行。出现例如The sandbox is not sync with the Podfile.lock问题时候,如下所示

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.` 

解决方案

关闭当前的工作空间,删除掉文件夹中的workspace,然后重新pod install,install完成之后,通过workspace打开工作空间,clean+build即可,如下所示

rm -rf MyProject.xcworkspace 
pod install 

在pod install之前,请确保已经执行pod setup命令。

参考链接:CocoaPod异常处理,The sandbox is not sync with the Podfile.lock


http://www.thinksaas.cn/topics/0/351/351314.html

iOS \'The sandbox is not sync with the Podfile.lock\'问题解决

原文:http://www.cnblogs.com/r360/p/5546648.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!