安装cocoapods

2018-01-25  本文已影响0人  fight_

1、 gem sources --remove https://rubygems.org/

2、 gem sources -a http://gems.ruby-china.org/

3、 sudo gem update --system

4、 sudo gem install -n /usr/local/bin cocoapods –pre

5、 pod install

1、cocoapods 500 修改 /Library/Ruby/Gems/2.3.0/gems/cocoapods-downloader-1.1.3/lib/cocoapods-downloader 路径中的 git.rb
#command += %w(--single-branch --depth 1)
command += %w(--single-branch)

上一篇 下一篇

猜你喜欢

热点阅读