CocoaPods的一些使用指令

2015-10-29  本文已影响51人  萝BAIBAI

$ sudo gem install cocoapods
$ pod search 查找的库
$ vim Podfile
$ pod install
$ pod update
$ which pod "检查pod是否安装成功"
$ touch Podfile "创建Podfile"

gem sources --remove https://rubygems.org/

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

gem sources -l

Unable to find a specification for xxxxx

清理pod
pod repo remove master
pod setup

上一篇 下一篇

猜你喜欢

热点阅读