错误信息如下

find_spec_for_exe': can't find gem cocoapods (>= 0.a) (Gem::GemNotFoundException)
from /Users/bastian/.rvm/rubies/ruby-2.3-head/lib/ruby/site_ruby/2.3.0/rubygems.rb:278:in activate_bin_path' from /Users/bastian/bin/pod:22:in<main>'

解决办法

 mv ~/.gemrc ~/.gemrc_backup

 gem install cocoapods

上面两个命令解决问题

转载于:https://www.cnblogs.com/rookie-dream/p/5788186.html

iOS 使用pods报错问题 pod --version相关推荐

  1. mysql报错:This version of MySQL doesn’t yet support ‘LIMIT IN/ALL/ANY/SOME 解决方法

    最近使用MySQL5.6查询表的前几条数据,使用了limit语句,结果出现错误:This version of MySQL doesn't yet support 'LIMIT & IN/AL ...

  2. ionic ios查看大图报错 the file to show is not valid image,or could not be loaded

    ionic ios查看大图报错 the file to show is not valid image,or could not be loaded 解决代码如下 public showImage(u ...

  3. 报错:libtool: Version mismatch error. This is libtool 2.4.6解决

    报错:libtool: Version mismatch error. This is libtool 2.4.6, but the definition of this LT_INIT解决: # a ...

  4. npm install报错:This version of npm is compatible with lockfileVersion@1, but package-lock.json was ge

    npm install报错:This version of npm is compatible with lockfileVersion@1, but package-lock.json was ge ...

  5. xx.xib: error: Illegal Configuration: Safe Area Layout Guide before iOS 9.0报错问题解决

    之前是用xcode8.3.3创建的工程最近升级到Xcode9.0 遇见了这个问题 在Xcode 9.0以上 新建xib文件会报错 xx.xib: error: Illegal Configuratio ...

  6. iOS模拟器运行报错Unable to install /xxx/build/ios/iphonesimulator/Runner.app

    前言 最近在做项目用模拟器运行,清理缓存后发现模拟器运行不起来了,报错如下: Unable to install /xxx/build/ios/iphonesimulator/Runner.app o ...

  7. 解决浏览器驱动和浏览器版本不匹配的报错:This version of ChromeDriver only supports Chrome version 97

    报错信息 selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This versi ...

  8. unity android 打包报错 Targeting S+ (version 31 and above)...

    完整报错应该类似下面这样: Targeting S+ (version 31 and above) requires that an explicit value for android:export ...

  9. 解决Error:Kotlin报错The binary version of its metadata is 1.5.1, expected version is 1.1.16问题

    idea以springboot方式启动微服务应用,但是编译过程中idea报错: Error:Kotlin: Module was compiled with an incompatible versi ...

  10. android studio中连接夜神报错 adb server version doesn't match this client

    原文地址:https://blog.csdn.net/wenzhi20102321/article/details/80934037 仅用于自己做笔记 二.解决方法 解决的办法不难,就是把现在SDK版 ...

最新文章

  1. android资源之res/raw和assets的异同
  2. Node.js执行系统命令
  3. android中止线程_Android如何结束并重启线程? | 学步园
  4. 解决window8 下连接PLSQL 报ora-12154错误
  5. Bailian4003 十六进制转十进制【入门】
  6. python dll 调用 方法未找到_大牛经验分享之谈:Python调用.NET库的方法步骤(建议收藏)...
  7. php的慢查询,慢查询是什么
  8. 【Spring-tx】关于spring事务的思考
  9. ios打包时候提示三方文件库错误,整理下解决的思路
  10. 简单的贪吃蛇代码,可上机运行
  11. 一文学会如何做电商数据分析(附运营分析指标框架)
  12. 石家庄地铁查询系统开发进度
  13. 数模混合计算机应用,数模混合集成电路的发展现状和前景
  14. 5G LTE窄带物联网(NB-IoT)7
  15. python数据分析与挖掘(二十七)--- Pandas量化--股票基础知识
  16. 搭建多节点Fabric网络(Windows系统)
  17. 心理测评数据分析系统(Java毕业设计)
  18. 使用Folx下载多个文件时如何控制不同下载速度
  19. CANBridge 系列本安型智能 CAN 总线隔离中继器
  20. NextCloud的安装配置

热门文章

  1. HTML/CSS/js 日期等其他函数 相关收藏
  2. mysql 初始化_MySQL安装与初始化
  3. 捷达vs7测试_没有大众车标的光环,捷达VS7显得更厚道,看看是不是你的菜
  4. 九度OJ 1340:小A的计算器 (进制转换)
  5. 在64位系统中无法看到Microsoft Excel Application的问题
  6. 八、异常、java笔记
  7. idea原生ajax数据处理(增删改查)
  8. 使用intellij idea创建JSP和引入Tomecat包
  9. 设计模式(十)—— 装饰者模式
  10. 虚拟化发展历程及原理