设为首页 加入收藏

TOP

cocoapods安装(一)
2017-10-10 12:18:29 】 浏览:8218
Tags:cocoapods 安装
//1.如何安装cocoapods
首先打开终端:
1==> gem sources --remove https://rubygems.org/
打印结果:source https://rubygems.org/ not present in cache

2==》 gem sources -a https://ruby.taobao.org/  (找到淘宝镜像)
打印结果:https://ruby.taobao.org/ added to sources

3==》 gem sources -l
打印结果:*** CURRENT SOURCES ***

https://ruby.taobao.org/

4==》sudo gem install cocoapods(开始安装cocoapods)

这是你需要输入密码(这里需要注意密码是不会显示出来的,无需在意,输完即可,等一分钟左右一般就安装成功了)

打印信息如下:
Fetching: i18n-0.7.0.gem (100%)
Successfully installed i18n-0.7.0
Fetching: thread_safe-0.3.5.gem (100%)
Successfully installed thread_safe-0.3.5
Fetching: tzinfo-
		    
 
			
style="color: #800080;">1.2
.2.gem (100%) Successfully installed tzinfo-1.2.2 Fetching: minitest-5.8.3.gem (100%) Successfully installed minitest-5.8.3 Fetching: activesupport-4.2.5.gem (100%) Successfully installed activesupport-4.2.5 Fetching: nap-1.0.0.gem (100%) Successfully installed nap-1.0.0 Fetching: fuzzy_match-2.0.4.gem (100%) Successfully installed fuzzy_match-2.0.4 Fetching: cocoapods-core-0.39.0.gem (100%) Successfully installed cocoapods-core-0.39.0 Fetching: claide-0.9.1.gem (100%) Successfully installed claide-0.9.1 Fetching: colored-1.2.gem (100%) Successfully installed colored-1.2 Fetching: xcodeproj-0.28.2.gem (100%) Successfully installed xcodeproj-0.28.2 Fetching: cocoapods-downloader-0.9.3.gem (100%) Successfully installed cocoapods-downloader-0.9.3 Fetching: cocoapods-plugins-0.4.2.gem (100%) Successfully installed cocoapods-plugins-0.4.2 Fetching: cocoapods-search-0.1.0.gem (100%) Successfully installed cocoapods-search-0.1.0 Fetching: cocoapods-stats-0.6.2.gem (100%) Successfully installed cocoapods-stats-0.6.2 Fetching: cocoapods-try-0.5.1.gem (100%) Successfully installed cocoapods-try-0.5.1 Fetching: netrc-0.7.8.gem (100%) Successfully installed netrc-0.7.8 Fetching: cocoapods-trunk-0.6.4.gem (100%) Successfully installed cocoapods-trunk-0.6.4 Fetching: molinillo-0.4.0.gem (100%) Successfully installed molinillo-0.4.0 Fetching: escape-0.0.4.gem (100%) Successfully installed escape-0.0.4 Fetching: cocoapods-0.39.0.gem (100%) Successfully installed cocoapods-0.39.0 Parsing documentation for i18n-0.7.0 Installing ri documentation for i18n-0.7.0 Parsing documentation for thread_safe-0.3.5 Installing ri documentation for thread_safe-0.3.5 Parsing documentation for tzinfo-1.2.2 Installing ri documentation for tzinfo-1.2.2 Parsing documentation for minitest-5.8.3 Installing ri documentation for minitest-5.8.3 Parsing documentation for activesupport-4.2.5 unable to convert "\x84" from ASCII-8BIT to UTF-8 for lib/active_support/values/unicode_tables.dat, skipping Installing ri documentation for activesupport-4.2.5 Parsing documentation for nap-1.0.0 Installing ri documentation for nap-1.0.0 Parsing documentation for fuzzy_match-2.0.4 Installing ri documentation for fuzzy_match-2.0.4 Parsing documentation for cocoapods-core-0.39.0 Installing ri documentation for cocoapods-core-0.39.0 Parsing documentation for claide-0.9.1 Installing ri documentation for claide-0.9.1 Parsing documentation for colored-1.2 Installing ri documentation for colored-1.2 Parsing documentation for xcodepr
编程开发网
首页 上一页 1 2 下一页 尾页 1/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇(IOS)BaiduFM 程序分析 下一篇懒加载

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

array(4) { ["type"]=> int(8) ["message"]=> string(24) "Undefined variable: jobs" ["file"]=> string(32) "/mnt/wp/cppentry/do/bencandy.php" ["line"]=> int(217) }