OSX :使 CocoaPods 与旧版本安装兼容

OSX :Making CocoaPods compatible with older version install

我安装了 CocoaPods (cocoapods-0.37.2),但我需要确保它向后兼容 0.35.0 版。我的问题是我该怎么做?

安装方法如下:

sudo gem install cocoapods

非常感谢你的帮助

由于您是通过 ruby​​gems 安装 CocoaPods 的,因此您可以为此使用他们的基础设施。在这种情况下安装旧版本是 described here. Once you install an old version you'll have both the newer and older installed. This means when you run pod it will pick the new one. If you don't want to uninstall 0.37.2 then you'll have to specify which you want to use. That process is