CocoaPods问题: CocoaPods was not able to update the `master` repo.if it is a unexpected issue and
来源:互联网 发布:ug mac 中文版下载 编辑:程序博客网 时间:2024/05/09 04:52
问题:cocoapods was not able to update the 'master' repo.if it is a unexpected issue and persists you can inspect it running 'pod repo update --verbose'
尝试解决:
尝试1、根据提示,跑一下 pod repo update --verbose
尝试2、如果还是出现原来问题,升级 gem update cocoapods(如果CocoaPods还不是最新版本)
尝试3、如果升级还是出现原来的问题,那么重装CocoaPods 。
首先查看本地装了关于cocoapods的哪些东西,在终端输入 gem list --local | grep cocoapods
接着全部卸掉上面的,在终端输入gem uninstall cocoapods
再安装,在终端输入gem install cocoapods
尝试4、如果问题依旧,那么请清除缓存再pod setup
清除命令sudo rm -fr ~/.cocoapods/repos/master
再pod setup
如果问题解决了,那么得出的结论是简单来说就是0.32之后的CocoaPods
repo目录访问现在不需要root权限了,之前版本生成的目录权限在新版本下会有权限问题,所以需要删除重新生成一次。
0 0
- CocoaPods问题: CocoaPods was not able to update the `master` repo.if it is a unexpected issue and
- cocoapods was not able to update the 'master' repo.if it is a unexpected issue and persists you can
- CocoaPods was not able to update the `master` repo....
- 解决 CocoaPods was not able to update the `master` repo
- CocoaPods 问题:cocoapods was not able to update the 'master' repo
- [转载]CocoaPods 问题:cocoapods was not able to update the 'master' repo
- The `master` repo requires CocoaPods 1.0.0
- Issue: Server principal is not able to access the database under the current security context
- AnyConnect was not able to establish a connection to the specified secure gateway解决办法
- 使用CocoaPods遇到一个问题:The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update ....
- Setting up CocoaPods master repo
- Setting up CocoaPods master repo
- cocopods显示 [!] The `master` repo requires CocoaPods 1.0.0
- CocoaPod install报错 the master repo is not a git repo
- Pod setup 提示 The `master` repo is not a git repo.
- If I have been able to see further, it was only because I stood on the shoulders of giants.
- 使用CocoaPods出现 The `master` repo requires CocoaPods 0.32.1 - 问题解决
- Cocoapods更新 ([!] The `master` repo requires CocoaPods 1.0.0 - (currently using 0.39.0))
- mysql查询替换语句
- 使用Espresso Test Recorder编写Android测试
- 生活感悟-2016.06.14
- 抓取淘宝商品价格人气-http://hws.m.taobao.com/cache/wdetail/5.0
- 为什么大家都说大三是一个分水岭
- CocoaPods问题: CocoaPods was not able to update the `master` repo.if it is a unexpected issue and
- 【Java变成思想】笔记(一)
- bzoj4551【TJOI2016&HEOI2016】树
- Android图片缓存技术---软引用、LruCache
- 如何实现分布式锁?
- RxJava的使用
- c/c++优先级队列(priority_queue)
- 使用git创建ssh后,在github上new ssh后,本地进行克隆总是拒绝访问
- 广州岑村科目二a考场,第一次考满分通过