CocoaPods工具使用说明
安装CocoaPods:
$sudo gem install cocoapods
若果下载迟缓甚至无法下载替换下载源为淘宝提供https://ruby.taobao.org
$ gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/ $ gem sources -l *** CURRENT SOURCES *** https://ruby.taobao.org
用search命令搜索库名
$pod search AFNetworking
在工程目录下创建podfile文件
$ touch Podfile
编辑功能依赖库
$vi podfile pod ‘AFNetworking‘, ‘~> 2.3.1‘
安装依赖库
$pod install
去掉install和update命令之前的更新操作
pod install --verbose --no-repo-update pod update --verbose --no-repo-update
相关推荐
baobeiliyue 2020-06-06
starX 2019-12-15
starX 2015-06-15
sgliquangang 2015-10-22
starX 2019-07-01
daiyelang 2019-06-26
pwf00 2019-06-25
lijuan0 2019-06-25
axuair 2019-06-21
lijuan0 2019-06-20
daiyelang 2019-06-20
KaSuperMen 2017-03-29
sgliquangang 2016-10-18
daiyelang 2016-08-13
KaSuperMen 2016-08-02
starX 2016-08-01
pwf00 2016-07-21
starX 2016-03-29
KaSuperMen 2015-11-23