pod install时出现 Unable to find a specification for `xxxx`
Unable to find a specification for `xxxxx (~> x.x.x)` depended upon by Podfile. Unable to find a specification for `xxxx`
需要把当前Pod的目录清理一下就行了。在终端执行以下命令:
pod repo remove masterpod setup
setup成功后执行
pod install 或
pod update
即可。
遇到pod install或者pod update长时间卡在Updating local specs repositories
常见的解决方式是跳过更新cocoapods的spec仓库
pod install --verbose --no-repo-updatepod update --verbose --no-repo-update
解决代理产生的Failed to connect to 127.0.0.1 port 54517: Connection refused问题
Failed to open TCP connection to 127.0.0.1:54517 (Connection refused - connect(2) for "127.0.0.1" port 54517)
查询代理
$ env|grep -I proxy$ http_proxy=127.0.0.1:54517
$ https_proxy=127.0.0.1:54517
取消代理
$ unset http_proxy
$ unset https_proxy
$ env|grep -I proxy未输出任何结果
然后再次尝试:
pod install
成功解决问题。
pod install时出现 Unable to find a specification for `xxxx`相关推荐
- pod install 时遇到 Automatically assigning platform `iOS` with version `11.0` on target XXX......
pod install的时候遇到的问题: [!] CDN: trunk Repo update failed - 2 error(s): CDN: trunk URL couldn't be down ...
- beego安装bee工具时出现unable to access ‘https://github.com/xxxx/xxxx‘: Failed to connect togo....解决办法
教程主安装bee工具命令: go get github.com/beego/bee 然而却出现了错误 : fatal: unable to access 'https://github.com/shi ...
- github push报 Unable to access ‘https://github.com/xxxx/xxxx.git/‘: OpenSSL SSL_read: Connection was
idea操作git时 报 Unable to access 'https://github.com/xxxx/xxxx.git/': OpenSSL SSL_read: Connection was ...
- RN pod install 失败(could not find compatible versions for pod “React/Core“)
使用最新版本 React-Native(0.63) 准备嵌入原生项目时, 按照官网教程集成到现有原生项目, 一步一个脚印, 到 pod install 出现如下错误 [!] CocoaPods cou ...
- 在使用npm install时遇到的问题 npm ERR! code ERESOLVE
在使用npm install时遇到的问题 npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ...
- iOS进阶 - pod install 与 pod update 读这一篇就够了
前言 在使用CocoaPods时,难免会混淆 pod install 和 pod update 的用法,于是在官网找到了相应的说明文章,并决定翻译过来,供大家学习. 以下内容来自:pod instal ...
- pod update --verbose --no-repo-update 和 pod install --verbose --no-repo-update的区别
当需要在CocoaPods中删除一个我们不要的库时 可以在Podfile中直接删除相关库 再cd 到项目目录 执行pod update --verbose --no-repo-update 或者pod ...
- pod install error(NoMethodError - undefined method `size’ for nil:NilClass)
pod install error(NoMethodError - undefined method `size' for nil:NilClass) 前言 问题截图 问题的相关连接: 解决办法 前言 ...
- pod install安装第三方库异常
使用pod install安装第三方插件时,可能会出现如下异常: Installing SDWebImage (3.7.3) [!] Error installing SDWebImage [!] / ...
最新文章
- 一种简单的数据库性能测试方法
- Mac-使用技巧之快捷键
- Big Sur:加州一号公路和比克斯比大桥
- SAP GUI和Windows注册表
- HTML语言name,HTML a 标签的 name 属性
- 壊小子的学习【日常阅读篇】(三)常规学习类图书
- 复杂存储过程学习_AI数据存储设备选型的6个关键要素
- 第三方支付框架开发简要文档
- 使用qume启动虚拟机的时候出现:“启动域时出错: Requested operation is not valid: network ‘default‘ is not active”
- VUE源码相关面试题汇总
- 酷比魔方iplay20_799元买国产“山寨板”是否值得?酷比魔方iPlay20 Pro评测
- python动态爬虫_Python动态网页爬虫技术
- svg模糊_SVG的运动模糊效果
- 【密码学探秘】EVM链和并行执行交易
- Android微信hook
- AJAX的全称是什么? 介绍一下AJAX
- 笔记——零知识证明zkSNARK
- 基于Java的网络流量分析软件设计
- spark的几个示例
- 算法设计与分析实验指导(完整版)