标签:
1.CocoaPods的安装
使用ruby的gem命令来下载安装:
a. 首先查看一下ruby软件源:
gem sources -l
若是rubygems.org的话需要替换为国内软件源:
gem sources --remove https://rubygems.org/
gem sources -a http://ruby.taobao.org./
gem sources -l
b.cocoapods set up
$ sudo gem install cocoapods
$ pod setup
命令执行时终端会输出Setting up CocoaPods master repo,稍等片刻安装完成。
标签:
原文地址:http://www.cnblogs.com/hialls/p/4457397.html