问题描述:

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

解决方案

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

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

posted on 2016-05-19 13:36  丑蛋蛋  阅读(160)  评论(0编辑  收藏  举报