📚苹果

多版本Cocoapods切换

2019-12-03  本文已影响0人  sttech

前言
在开发过程中,会出现切换Cocoapods版本情况.

安装Bundler

 gem list --local | grep cocoapods
Cocoapod 版本列表
pod --version
本地默认Cocoaspod版本
gem install bundler 
# 若无权限,则加上sudo
sudo gem install bundler
安装Bundler

使用

bundle init
# frozen_string_literal: true
source "https://rubygems.org"
gem 'cocoapods','1.8.4'
bundle install
bundle exec pod install
上一篇 下一篇

猜你喜欢

热点阅读