如何降级或安装较旧版本的Cocoapods [英] How to downgrade or install an older version of Cocoapods

查看:211
本文介绍了如何降级或安装较旧版本的Cocoapods的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将Cocoapods降级到旧版本,或者如何安装较旧版本的Cocoapods?

How can I downgrade Cocoapods to an older version, or how can I install an older version of Cocoapods?

推荐答案

删除您可以运行的当前版本:

to remove your current version you could just run:

sudo gem uninstall cocoapods

您可以通过以下命令安装特定版本的可可豆荚:

you can install a specific version of cocoa pods via the following command:

sudo gem install cocoapods -v 0.25.0

您可以使用以下旧版本命令:

You can use older installed versions with following command:

pod _0.25.0_ setup

这篇关于如何降级或安装较旧版本的Cocoapods的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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