安装
sudo gem install cocoapods
pod setup
升级gem
sudo gem update --system
将官方的ruby源替换成国内淘宝的源
gem sources --remove https://rubygems.org/
gem sources -a http://ruby.taobao.org/
gem sources -l
使用CocoaPods的镜像索引
pod repo remove master
pod repo add master https://gitcafe.com/akuandev/Specs.git
pod repo update
更新本地第三方库的描述文件
pod repo update master
验证spec文件
pod spec lint SNFoundation.podspec
sudo gem install cocoapods
pod setup
升级gem
sudo gem update --system
将官方的ruby源替换成国内淘宝的源
gem sources --remove https://rubygems.org/
gem sources -a http://ruby.taobao.org/
gem sources -l
使用CocoaPods的镜像索引
pod repo remove master
pod repo add master https://gitcafe.com/akuandev/Specs.git
pod repo update
更新本地第三方库的描述文件
pod repo update master
验证spec文件
pod spec lint SNFoundation.podspec