FastLane安装过程

1、卸载homeBrew、重装homeBrew

uninstall homebrew: ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)”

install homebrew: ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

2、安装ruby环境

brew install ruby

gem sources –add https://gems.ruby-china.org/ –removehttps://rubygems.org/

3、卸载cocoapods、fastlane 再重新安装

gem uninstall cocoapods

gem/brew uninstall fastlane

sudo gem install cocoapods

sudo gem install fastlane -NV

4、更新系统的bundle软件

sudo gem install bundler

5、进入项目目录下,即和GemFile同一个目录下

运行bundle install

6、最后执行fastlane开始打包

你可能感兴趣的:(技术研究)