CocoaPods安装
2017-12-15 00:00
120 查看
访问网址https://gems.ruby-china.org/
gem source -a https://gems.ruby-china.org --->gem source -l <--- *** CURRENT SOURCES *** https://gems.ruby-china.org/ ---> rvm reinstall 2.3.1 --autolibs=homebrew --->sudo gem install cocoapods
Podfile文件,文件名就是Podfile
platform :ios, '7.0' pod "AFNetworking", "~> 2.0"
首次安装
pod install
更新 --no-repo-update 不更新本地仓库
pod update --no-repo-update