CocoaPods解决Unable to add a source with url
来源:互联网 发布:java工程师一般年薪 编辑:程序博客网 时间:2024/06/03 16:13
问题
装了xcode8后,第一次进行pod,发现出现以下问题
[!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master-1`.You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.
问题产生原因
装了多个Xcode导致路径变了
解决方法
进入终端,重新设置xcode的路径
sudo xcode-select -switch /Applications/Xcode-beta.app // xcode的路径
原文地址
https://my.oschina.net/jjtm/blog/492083
0 0
- CocoaPods解决Unable to add a source with url
- CocoaPods解决Unable to add a source with url ...
- CocoaPods解决Unable to add a source with url
- CocoaPods解决Unable to add a source with url
- CocoaPods解决Unable to add a source with url
- CocoaPods解决Unable to add a source with url
- iOS - 解决Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named
- 解决Unable to add a source with url
- Unable to add a source with url
- 安装多个Xcdoe使用cocoapods 因为路径造成Unable to add a source with url错误解决
- Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master-1
- Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master-1`.
- 芒果iOS开发之Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master`.
- CocoaPods安装后出现[!] Unable to find a pod with name, author, summary, or description matching
- cocoapods找不到第三方库Unable to find a pod with name, author, summary, or descriptionmatching
- 解决 Unable to add dynamic content. A script attempted to inject dynamic content, or elements previous
- Add a system call to linux source
- 解决Unable to connect to a repository at URL 禁止访问 (forbidden)
- 诊断SQLSERVER问题常用的日志
- ES6的常用功能
- Color.FromArgb设置颜色
- git将本地文件上传到远程仓库
- RecyclerView嵌套RecyclerView
- CocoaPods解决Unable to add a source with url
- 一步一步实现直播和弹幕
- (转) 百度地图
- C#实现窗口最小化到系统托盘
- 使用laravel部署项目的需要注意的问题:路由访问404,pdo扩展
- Pofile
- 传统广告业沦为“鸡肋”?乐直播如何助力行业“杀出重围”?
- 一个有用的链接
- 为什么要使用ConcurrentHashMap而不是HashMap