安装老椰子树吗? [英] Install old cocoapods?

查看:132
本文介绍了安装老椰子树吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的整个项目目前是怪人,因为没有任何依赖符合cocoapods 1.0。不仅是数百万的Podspecs无法正常工作,还有多个其他问题曾经是警告,现在正在停止生成错误......令人沮丧。



我试过了删除〜/ .cocoapods sudo gem卸载cocoapods sudo gem install cocoapods -v 0.39 .0 和相同的错误正在发生。它看起来像它正在安装它或什么?

  cocoapods(0.39.0)
cocoapods-core(1.0。 0,0.39.0)
cocoapods-deintegrate(1.0.0)
cocoapods-downloader(1.0.0,0.9.3)
cocoapods-plugins(1.0.0,0.4.2)
cocoapods-search(1.0.0,0.1.0)
cocoapods-stats(1.0.0,0.6.2)
cocoapods-trunk(1.0.0,0.6.4)
cocoapods-try(1.0.0,0.5.1)

如何使用100%版本,直到这些库被修复?

解决方案

第一步运行 sudo gem安装cocoapods -v 0.39.0 ,这会安装你想要的版本。



第2步运行 sudo gem list ,它会给你列出你已安装的所有宝石及其版本;您将注意到您已安装多个cocoapods版本。



第3步卸载您不想要的版本 sudo gem卸载cocoapods -v 1.0



第4步确认您现在正在使用 pod --version


My entire project is wack currently because none of the dependencies are compliant with cocoapods 1.0. Not only are millions of Podspecs not working, there are also multiple other issues which used to be warnings and are now build halting errors... so frustrating.

I have tried removing ~/.cocoapods, sudo gem uninstall cocoapods and sudo gem install cocoapods -v 0.39.0 and the same errors are occurring. It looks like it's installing it anyway or something?

cocoapods (0.39.0)
cocoapods-core (1.0.0, 0.39.0)
cocoapods-deintegrate (1.0.0)
cocoapods-downloader (1.0.0, 0.9.3)
cocoapods-plugins (1.0.0, 0.4.2)
cocoapods-search (1.0.0, 0.1.0)
cocoapods-stats (1.0.0, 0.6.2)
cocoapods-trunk (1.0.0, 0.6.4)
cocoapods-try (1.0.0, 0.5.1)

How do I use 100% old version until these libs are fixed?

解决方案

Step 1 Run sudo gem install cocoapods -v 0.39.0, this will install the version you want.

Step 2 Run sudo gem list, which will give you a list of all the gems you have installed as well as their version; you'll note that you have multiple versions of cocoapods installed.

Step 3 Uninstall the version(s) you don't want with sudo gem uninstall cocoapods -v 1.0.

Step 4 Confirm you are now running the correct version of cocoapods with pod --version.

这篇关于安装老椰子树吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆