iOS CocoaPods iOS 'The sandbox is not sync with the Podfile.lock'问题解决
来源:互联网 发布:网络公司财务 编辑:程序博客网 时间:2024/05/17 18: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,然后在双击打开我们的
project.xcworkspace
,执行菜单中的product -> clean ,然后在build 一次
我们首先通过终端:
//1. 进入到我们出现错误工程的根目录rm -rf Project.xcworkspace pod install
我们等待几分钟看到如下界面表示OK
我们看到Updating local specs repositories
不要着急,等待一会就好了,以上是我的解决办法
文/Raybon_lee(简书作者)
原文链接:http://www.jianshu.com/p/9a5c219a6bf3
著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。
原文链接:http://www.jianshu.com/p/9a5c219a6bf3
著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。
0 0
- iOS CocoaPods iOS 'The sandbox is not sync with the Podfile.lock'问题解决
- iOS学习笔记13-iOS 'The sandbox is not sync with the Podfile.lock'问题解决
- iOS \'The sandbox is not sync with the Podfile.lock\'问题解决
- iOS "The sandbox is not in sync with the Podfile.lock"解决方案
- 14、 iOS "The sandbox is not in sync with the Podfile.lock"解决方案
- 【Xcode】【iOS-pod】The sandbox is not sync with the Podfile.lock
- iOS "The sandbox is not in sync with the Podfile.lock"解决方案
- IOS--The sandbox is not in sync with the Podfile.lock.
- The sandbox is not sync with the Podfile.lock 解决方法!!!
- The sandbox is not in sync with the Podfile.lock
- CocoaPods报错:The sandbox is not in sync with the Podfile.lock...
- The sandbox is not sync with the Podfile.lock问题解决方案
- mac 项目the sandbox is not sync with the podfile.lock问题解决
- The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods install
- The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods install
- The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods install
- 使用CocoaPods遇到一个问题:The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update ....
- "The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods i"解决方法
- 高手遇事的处理方法(卓越项目经理必备)
- USB子系统的树形结构
- 内存堆和栈的区别
- 记录学习的点滴(Git入门)
- 生成图片二维码
- iOS CocoaPods iOS 'The sandbox is not sync with the Podfile.lock'问题解决
- 修改过的条码钩子
- storyboard中出现的问题
- Python抓取gb2312字符集网页中文乱码
- xxx is not in the sudoers file.This incident will be reported.的解决方法
- yii1.0 细小累计
- 计划任务,但可能不能运行,因为无法设置帐户信息,指定的错误是:0X80041315
- java_mail收发邮件
- 在浏览器中禁止拖动页面的元素或者拖动图片打开新的窗口