使用CocoaPods来做iOS程序的包依赖管理

10.0以后的系统使用下面的方法来安装。

Some time ,the default

source of gem,https://rubygems.org/, can't be accessed.

It should be removed by

command :gem sources -rhttps://rubygems.org/

And then add new source :gem sources -ahttp://ruby.taobao.org/

Update the cache:gem sources -u

You can check

souces: gem sources

Finally , you can install

: sudo gem install cocoapods

具体使用文章:

http://www.cocoachina.com/ios/20140107/7663.html

xcodeproj  'path/to/My.xcodeproj'

你可能感兴趣的:(使用CocoaPods来做iOS程序的包依赖管理)