安装pods记录

安装pods记录

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

gem sources -a https://gems.ruby-china.org/

gem sources -l

gem install rails

pod repo

清除pods

rm -fr ~/.cocoapods/repos/master

安装

sudo gem install -n /usr/local/bin cocoapods --pre

pod setup

可以用下面的代替:

git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master

pod repo remove master

pod repo add master https://gitcafe.com/akuandev/Specs.git

pod repo update

pod使用

进入项目文件夹执行:pod init

pod install --verbose --no-repo-update

pod update --verbose --no-repo-update

你可能感兴趣的:(安装pods记录)