1.問題扒最?
第一步:》》》123456:promotion_sales ule_zhangfanglin$ sudo gem install fir-cli
Password:
ERROR: Could not find a valid gem 'fir-cli' (>= 0) in any repository
第二步》》》123456:promotion_sales ule_zhangfanglin$ xcode-select --install
xcode-select: note: install requested for command line developer tools
123456:promotion_sales ule_zhangfanglin$ sudo gem install fir-cli
第三部或者第四部》》》123456:promotion_sales ule_zhangfanglin$ curl -L https://get.rvm.io | bash -s stable --ruby
Installing RVM to /Users/admin/.rvm/
Adding rvm PATH line to /Users/admin/.profile /Users/admin/.mkshrc /Users/admin/.bashrc /Users/admin/.zshrc.
Adding rvm loading line to /Users/admin/.profile /Users/admin/.bash_profile /Users/admin/.zlogin.
Installation of RVM in /Users/admin/.rvm/ is almost complete:
第四部》》》
123456:promotion_sales ule_zhangfanglin$ gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/
source https://ruby.taobao.org/ already present in the cache
source https://rubygems.org/ not present in cache
123456:promotion_sales ule_zhangfanglin$ sudo gem install fir-cli
Password:
Fetching: rqrcode-0.10.1.gem (100%)
Successfully installed rqrcode-0.10.1
Fetching: fir-cli-1.6.3.gem (100%)
______________ ________ ____
/ ____/ _/ __ \ / ____/ / / _/
/ /_ / // /_/ /_____/ / / / / /
/ __/ _/ // _, _/_____/ /___/ /____/ /
/_/ /___/_/ |_| \____/_____/___/
2問題?
./xcbuild.sh: line 27: xcpretty: command not found
123456:~ ule_zhangfanglin$ gem install xcpretty
Fetching: rouge-2.0.7.gem (100%)
git地址:可以下載https://github.com/aofeilin/shell-
導(dǎo)出參考
http://www.reibang.com/p/bd4c22952e01
http://zackzheng.info/2015/12/27/2015-12-27-an-automated-script-for-building-archiving-submission-sending-emails/#編譯打包成Archive
https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/xcodebuild.1.html
fir參考
curl -L https://get.rvm.io | bash -s stable --ruby
http://www.reibang.com/p/7c71c8ef3cea
http://www.reibang.com/p/6b4eb3666905