Objective-C App开发基础之pod install无限阻塞在Setting up CocoaPods master repo的情况
来源:互联网 发布:王者荣耀修复资源数据 编辑:程序博客网 时间:2024/06/05 04:14
$ pod install
只会按照Podfile的要求来请求类库,在本地,输入$ pod install ,出现一直阻塞在Setting up CocoaPods master repo
的情况。
在 ~/.cocoapods目录下,用du sh * 查看repos的大小,一直停留存在56k,然后过一段时间,大小变为0B,同时,pod install指令终止,并出现
[!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master`.You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.
呵呵,查了各种方法都不能解决问题,最后只用暴力了。
方法如下:
1.用git clone直接下载
$ git clone https://github.com/CocoaPods/Specs.git master
此时对应workspaces文件夹中出现一个master文件夹
2.把master文件夹移动到~/.cocoapods/repos文件夹下
$ mv master ~/.cocoapods/repos
3.最后执行pod install 指令
0 0
- Objective-C App开发基础之pod install无限阻塞在Setting up CocoaPods master repo的情况
- Cocoapods安装(Xcode8.0之后,无限卡在Setting up CocoaPods master repo)
- Setting up CocoaPods master repo
- Setting up CocoaPods master repo
- 安装cocoapods 一直卡在Setting up CocoaPods master repo上的解决办法
- Setting up CocoaPods master repo 不动了
- 终端 setting up cocoapods master repo 不动
- cocoapods setup Setting up CocoaPods master repo 一直在这里卡着
- 使用CocoaPods 时卡在这 Setting up CocoaPods master repo 不动
- IOS开发:CocoaPods安装和使用及问题:Setting up CocoaPods master repo
- cocoaPods使用出现:Setting up CocoaPods master repo
- CocoaPods安装和使用及问题:Setting up CocoaPods master repo的认识
- Setting up CocoaPods master repo 卡着不动
- Setting up CocoaPods master repo 卡着不动
- Setting up CocoaPods master repo 卡着不动
- Setting up CocoaPods master repo 卡着不动
- Setting up CocoaPods master repo 卡着不动
- Setting up CocoaPods master repo 卡着不动
- dubbo 使用 学习四(springmvc+spring+dubbo+zookeeper本地伪集群)
- Java nginx https 双向认证
- [SSM]Mybatis绑定错误的原因
- Thrift优缺点及应用
- git 学习笔记
- Objective-C App开发基础之pod install无限阻塞在Setting up CocoaPods master repo的情况
- 大型网站技术架构整理(Ch. 10-16)
- 打电话发短信
- oracle Window_group理解
- 面试题:交换两个变量的值,不使用第三个变量
- 值的互联网公司的开发工程师收藏的含有技术类高质量文章的微信公众号
- Gallery:android:galleryItemBackground 什么效果
- CodeForces 723B Text Document Analysis(字符串的分析)
- C++Primer5th课后题10.11、10.13