@SanMao
2015-10-10T11:49:13.000000Z
字数 614
阅读 1193
知识补充
sudo gem update --system
切换CocoaPods的数据源
gem sources --remove https://rubygems.org/
gem sources -a http://ruby.taobao.org/
gem sources -l
sudo gem install cocoapods
将podspec文件托管地址从github替换为国内oschina
pod repo remove master
pod repo add master http://git.oschina.net/akuandev/Specs.git
pod repo update
pod setup
pod —version
pod search name
sudo gem install -n /usr/local/bin cocoapods
/usr/local/bin