标签:
$ gem sources --remove https://rubygems.org/
$ gem sources -a https://ruby.taobao.org/
$ gem sources -l
$ sudo gem install cocoapods
$ pod setup
备注:苹果系统升级 OS X EL Capitan 后安装改为:
$ sudo gem install -n /usr/local/bin cocoapods
$ pod setup
$ sudo gem update --system
$ pod search 第三方
$ touch Podfile
platform:ios, ‘8.0‘
pod ‘AFNetworking‘, ‘~> 2.3.1‘<-------第三方
$ pod install
标签:
原文地址:http://www.cnblogs.com/XYQ-208910/p/5138648.html