CocoaPods was not able to update the `master` repo....
2016-04-01 15:46
2096 查看
根据提示执行repo更新:
master分支还是失败,查看网上建议,先清除缓存
再重新运行:
最后,到下载的ios工程目录下,执行:
可见现在问题解决了!
$ pod repo update --verbose Updating spec repo `master` $ /usr/bin/git pull --ff-only From https://github.com/CocoaPods/Specs a0baa68..9a14a05 master -> origin/master error: Your local changes to the following files would be overwritten by merge: CocoaPods-version.yml Specs/1PasswordExtension/1.0.0/1PasswordExtension.podspec.json Specs/1PasswordExtension/1.0.1/1PasswordExtension.podspec.json Specs/AKUTestKit/1.1.2/AKUTestKit.podspec.json Specs/ALCore Aborting Updating a5c6b67..9a14a05 [!] 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`
master分支还是失败,查看网上建议,先清除缓存
rm -rf ~/.cocoapods/repos/master
再重新运行:
$ pod setup Setting up CocoaPods master repo CocoaPods 1.0.0.beta.2 is available. To update use: `gem install cocoapods --pre` [!] This is a test version we'd love you to try. For more information see http://blog.cocoapods.org and the CHANGELOG for this version http://git.io/BaH8pQ. Setup completed
最后,到下载的ios工程目录下,执行:
$ pod install Updating local specs repositories CocoaPods 1.0.0.beta.2 is available. To update use: `gem install cocoapods --pre` [!] This is a test version we'd love you to try. For more information see http://blog.cocoapods.org and the CHANGELOG for this version http://git.io/BaH8pQ. Analyzing dependencies Downloading dependencies Installing AFNetworking (2.6.3) Installing AFOnoResponseSerializer (1.0.0) Installing DTCoreText (1.6.17)
可见现在问题解决了!
相关文章推荐
- 2016最新CocoaPods安装和错误解决方案
- 2016 cocoapods的安装和使用方法以及版本升级遇到的问题
- 详解2016 cocoapods的安装和使用以及版本升级遇到的问题
- CocoaPods版本升级
- CocoaPods安装和使用教程
- iOS cocoapods的详解大全及其flex
- CocoaPods安装和使用教程
- 最新版 CocoaPods 的安装流程
- 最新版 CocoaPods 的安装流程
- CocoaPods安装和使用教程
- 关于CocoaPods的安装和使用
- CocoaPods 入门详解
- Cocoapods使用
- cocoapods 安装
- Objective-C中的CocoaPods教程
- 解决 ld: library not found for -lPods的问题
- Xcode使用第三方库-Cocoapods
- mac 下装cocoapods时遇到的问题:please install libyaml and reinstall your ruby
- ruby环境搭建 CocoaPods安装和使用
- 关于cocoaPods 创建和一些解决问题