美文网首页
1.tools-cocoapods

1.tools-cocoapods

作者: 嘛尼嘛哄 | 来源:发表于2017-09-22 22:00 被阅读0次

install: (Mac)

  we need change the gem sources firstly for the firewall 

gem install cocoa podsgem sources --remove https://rubygems.org/

gem sources -a http://ruby.taobao.org/

gem sources -l      // verify your demo sources is ok or not

 every thing is ok,  you could seen 

*** CURRENT SOURCES ***

http://ruby.taobao.org/

then execute the command below, it will take you about ten seconds to install cocoa pods

sudo gem install cocoapods

- usage  

pod search NiuBiFrameWork

cd your workspace directory

vim Profile

platform :ios, '7.0'

pod "AFNetworking", "~> 2.0"

:wq   //exit the vim 

pod update

reopen your workspace 

related blog:

 http://www.cnblogs.com/wengzilin/p/4742530.html

http://www.cocoachina.com/ios/20150228/11206.html


相关文章

网友评论

      本文标题:1.tools-cocoapods

      本文链接:https://www.haomeiwen.com/subject/bckqextx.html