first, the error encountered
Here's how to fix it:
This problem occurs because the Ruby environment requires more than 2.2 versions, so update the ruby environment. Update Ruby Environment 0. To install the Homebrew terminal First, enter this command:/USR/BIN/RUBY-E "$ (Curl-fssl https://raw.githubusercontent.com/Homebrew/ Install/master/install) "1. Install rvm:$ curl-l Get.rvm.io | Bash-s stable2. Load rvm:$ source ~/.rvm/scripts/rvm3. Install 2.3.0 version ruby:$ RVM install 2.3.04. Set 2.3.0 to default: $ RVM Use 2.3.0--defaul T certificate error issue $ cd $RVM _path/usr/ssl$ sudo curl-o http://curl.haxx.se/ca/cacert.pem$ sudo mv Cacert.pem CERT.PEM
Not finished, waiting to be sorted .....
Automation is too powerful, save me to develop a lot of time, so decided to study, reference article: http://www.cocoachina.com/ios/20170519/19317.html
Automating packaging and publishing with Fastlane in iOS