CocoaPods报错:The sandbox is not in sync with the Podfile.lock...
来源:互联网 发布:php 逗号分隔字符串 编辑:程序博客网 时间:2024/06/05 09:44
当我们从github下一些demo,如果笔者添加CocoaPods管理,有时候因为依赖关系或者版本问题不能编译,很有可能下载到我们本地报错。报错提示如下:
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.
解决方案:
1、删除lock文件,步骤:Build Phases -->Check Pods Manifest.lock 如下操作:
2、command + B编译 ,如果不报错就ok了。
PS:如果编译后提示 'xxx' file not found
可能因为CocoaPods更新版本后,又是target问题。决绝方案上篇博客提到过
http://blog.csdn.net/fucuiping_1314/article/details/52056655
1、修改Podfile文件的内容
2、 终端输入命令:pod install
3、编译一下,就OK了
0 0
- CocoaPods报错:The sandbox is not in sync with the Podfile.lock...
- The sandbox is not in 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"解决方法
- The sandbox is not sync with the Podfile.lock 解决方法!!!
- iOS CocoaPods 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"解决方案
- 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 in sync with the Podfile.lock 解决办法
- iOS学习笔记13-iOS 'The sandbox is not sync with the Podfile.lock'问题解决
- 【Xcode】【iOS-pod】The sandbox is not sync with the Podfile.lock
- The sandbox is not sync with the Podfile.lock问题解决方案
- 'The sandbox is not sync with the Podfile.lock'的问题
- c++ primer读书笔记:4.1 基础
- View中的requestLayout和invalidate区别
- 【miscellaneous】监狱安防系统智能视频监控系统设计方案
- 一线公司面试题宝典
- 对象的初始化过程-java
- CocoaPods报错:The sandbox is not in sync with the Podfile.lock...
- 设计模式_之代理模式
- 不同BMP位图与调色板分析
- MySQL数据库学习笔记(十一)----DAO设计模式实现数据库的增删改查(进一步封装JDBC工具类)
- Python 内置函数 locals() 和globals()
- GetLastError和FormatMessage的简单使用
- Handler的使用(下)
- map中自定义比较函数
- 洪水