修复cocoapods - Unable to satisfy the following requirements:
来源:互联网 发布:用java搭建app服务器 编辑:程序博客网 时间:2024/05/29 16:28
在拉下松爷更新的Podfile后,尝试用pod update
更新,结果出现下面错误
$pod updateUpdate all podsAnalyzing dependencies[!] Unable to satisfy the following requirements:- `JSQMessagesViewController (~> 6.1.0)` required by `Podfile`
没什么头绪,尝试查一下版本
$pod list | grep JSQM JSQMessagesViewController 6.0.0
JSQMessagesViewController主页明明标了已经是6.1.1,是不是版本库有本地缓存,在pod --help
加google下,发现命令pod repo update
,果断运行一下,卡住,加上–verbose
$pod repo update --verbose $ /usr/bin/git rev-parse >/dev/null 2>&1Updating spec repo `master` $ /usr/bin/git pull --ff-only error: Your local changes to the following files would be overwritten by merge: CocoaPods-version.yml Specs/AdMobMediationAdapterMMedia/1.5.0/AdMobMediationAdapterMMedia.podspec.json Please, commit your changes or stash them before you can merge. error: The following untracked working tree files would be overwritten by merge: Specs/AAShareBubbles/1.1.0/AAShareBubbles.podspec.json ...[略去n行] Specs/AQSEvent/0.2.0/AQSE Aborting Updating da90008..86016e3[!] CocoaPods was not able to update the `master` repo. If this is an unexpected issue and persists you can inspect it running `pod repo update --verbose`
果然本地有缓存,还是git管理的,更新时冲突,google了一下,找到相关资料:
1.http://stackoverflow.com/questions/19477178/cocoapods-error-during-pod-update
2.http://blog.cocoapods.org/Repairing-Our-Broken-Specs-Repository/
解决方法:删除本地缓存,重新setup
$rm -fr ~/.cocoapods/repos/master$pod setup
转载:http://yongyao.li/blog/article/repair-broken-cocoapods-specs-repository
0 0
- 修复cocoapods - Unable to satisfy the following requirements:
- 修复cocoapods - Unable to satisfy the following requirements
- Cocoapods-Unable to satisfy the following requirements
- CocoaPods Unable to satisfy the following requirements解决方案
- Unable to satisfy the following requirements解决方案
- Unable to satisfy the following requirements解决方案
- Unable to satisfy the following requirements解决方案
- [!] Unable to satisfy the following requirements:
- Unable to satisfy the following requirements解决方案
- CocoaPods使用问题 gem sources 查看ruby源unable to satisfy the following requirements:
- [!] Unable to satisfy the following requirements:众里寻他千百度。
- [!] Unable to satisfy the following requirements: - `AFNetworking (~> 2.6.1)` required by `Podfile`
- CocoaPod: 出现 Unable to satisfy the following requirements:required by 'Podfile'
- 使用cocospod报错Unable to satisfy the following requirements解决方案
- 修复VirtualBox "This kernel requires the following features not present on the CPU: pae Unable to boot
- 修复VirtualBox "This kernel requires the following features not present on the CPU: pae Unable to boot
- 修复VirtualBox "This kernel requires the following features not present on the CPU: pae Unable to boot
- 修复VirtualBox "This kernel requires the following features not present on the CPU: pae Unable to boot
- 忽略svn中加入版本控制的文件
- nginx 配置从零开始
- 蓝桥杯 蚂蚁感冒
- Android 动画
- 远程进行kvm虚拟机的安装
- 修复cocoapods - Unable to satisfy the following requirements:
- ZJNU training for Provincial Collegiate Programming Contest(9)
- 多重部分和问题 dp
- [黑马程序员]4 JAVA基础- 异常 包
- C#正则表达式联合delegate使用
- Android——通过电话号码获得联系人图像、姓名
- 第三章第十题
- js正则表达式
- uCosii移植51_STC12LE5A60S2