iOS-----------安装fir-cli错误

 

1.在终端执行  gem install fir-cli

一直提示错误:    You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.

把 gem install fir-cli  改为  sudo gem install  -n /usr/local/bin fir-cli

 

2.error: exportArchive: The data couldn’t be read because it isn’t in the correct format.

很大可能是你plist配置错误

可参考:https://www.jianshu.com/p/6b68cd9307bc

 

 

3. can't find gem fir-cli

/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems.rb:241:in `bin_path': can't find gem fir-cli (>= 0.a) (Gem::GemNotFoundException)
from /usr/local/bin/fir:22:in `

'

 

你可能感兴趣的:(iOS-----------安装fir-cli错误)