iOS 'The sandbox is not sync with the Podfile.lock
2016-04-14 00:00
501 查看
问题描述: 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命令。
相关文章推荐
- IOS 制作静态库的两种方法
- iOS 开发常用链接总结
- TableView的footerView不随cell滚动而停留在tableView底部的问题,ios tableviewfooter
- iOS - 百度地图
- 简单监测iOS卡顿的demo
- iOS crash分析
- iOS实现无限后台background的方法
- [IOS]Core Data简单实例(使用Xcode7)
- iOS有关横向TableView的东西
- iOS instruments介绍
- iOS 关联策略 详解
- iOS开发中遇到的常用的小知识
- iOS学习笔记之回调(二)
- iOS runtime 机制 通过别扩展category给一个类添加属性
- iOS代理
- iOS之AFN使用技巧(3)
- iOS 用 SDWebImage 清理图片缓存
- iOS 用 SDWebImage 清理图片缓存
- iOS NSArray 求两个数组的交集 两个数组去重
- iOS学习笔记24-不断进化的屏幕适配