Unable to satisfy the following requirements解决方案
2016-06-21 18:50
801 查看
用
没什么头绪,尝试查一下版本
JSQMessagesViewController主页明明标了已经是6.1.1,是不是版本库有本地缓存,在
果然本地有缓存,还是git管理的,更新时冲突,google了一下,找到相关资料:
1.http://stackoverflow.com/questions/19477178/cocoapods-error-during-pod-update
2.http://blog.cocoapods.org/Repairing-Our-Broken-Specs-Repository/
解决方法:删除本地缓存,重新setup
pod update更新,结果出现下面错误
$pod update Update all pods Analyzing 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>&1 Updating 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
相关文章推荐
- IT十八掌作业_java基础第十六天_GUI/socket
- 深入浅出Android Gradle构建系统 (三:build task)
- -[UIViewController _loadViewFromNibNamed:bundle:] loaded the "xxx" nib but the view outlet was not s
- Java - Hibernate Tools Query property should be explicitly set for Query Exporter?
- valueScreen()方法的逻辑
- UI控件之ToggleButton(开关按钮)和Switch(开关)
- BZOJ2632: [neerc2011]Gcd guessing game
- Rest-Assured 设置Request Timeout
- easyui datagrid 中序列化后的日期格式化
- android后台线程更新UI
- com.sun.xml.internal.ws.server.ServerRtException: Server Runtime Error: java.net.BindException: Cannot assign requested address: bind
- UITool 2
- 【leetcode】357. Count Numbers with Unique Digits【M】【72】
- Swing中多线程操作UI
- require.js的一次简单尝试
- 理清android中values, values-v11, value-v14之间的关系
- easyui1.4+ dialog内容不渲染
- Android Volley使用介绍(三),量身定做自己的Request
- Request.QueryString("id")与Request("id")区别
- easyUi DataGrid