CocoaPods 安装ru
2015-08-10 11:55
302 查看
在pods 环境已经安装好的情况下:若没有:http://code4app.com/article/cocoapods-install-usage
1.第一步依旧是检查CocoaPods 更新
很快就会出现一些更新,若没有,可以直接进入下一步
若出现一些cocoapods 更新失败 bad response Not Found 404 (http://ruby.taobao.org/specs.4.8.gz)
2.安装成功以后 cd “你的文件夹”
3.搜索需要的第三方
1.第一步依旧是检查CocoaPods 更新
Galen:~ Galen$ sudo gem install cocoapods
很快就会出现一些更新,若没有,可以直接进入下一步
若出现一些cocoapods 更新失败 bad response Not Found 404 (http://ruby.taobao.org/specs.4.8.gz)
$ gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/ $ gem sources -l
2.安装成功以后 cd “你的文件夹”
Galen:test Galen$ touch Podfile
3.搜索需要的第三方
Galen:Tiguan Galen$ pod search AFNetworking -> AFNetworking (2.5.4) A delightful iOS and OS X networking framework. pod 'AFNetworking', '~> 2.5.4' - Homepage: https://github.com/AFNetworking/AFNetworking - Source: https://github.com/AFNetworking/AFNetworking.git[/code]
复制你需要的版本 然后在目录生成的文件里面copy:
pod 'AFNetworking', '~> 2.5.4'
相关文章推荐
- Trapping Rain Water
- linux下安装google protobuf(详细)
- java多线程实现
- 腾讯实习生笔试题
- 【SICP感应】1 工艺和替代模式
- javascript密码强度校验代码(两种方法)
- Hadoop2.x eclipse下编程环境配置
- UML类图关系(泛化 、继承、实现、依赖、关联、聚合、组合)
- 网络流24题 01 飞行员配对方案问题 (多源多汇点+最大流)
- ScrollView嵌套Listview导致Listview显示不全解决方案
- [前端] canvas绘制圆、渐变、字体和图片及其他
- 黑马程序员——类加载器
- ssh免密码登陆远程服务器
- 如何在WPF中嵌入Winform控件
- 求最长不降子序列
- 自定义ViewGroup控件(一)----->流式布局进阶(一)
- VC中定时器的使用
- Javascript 方法apply和call的区别
- 一道多线程笔试题目的联想
- Ubuntu下搜狗输入的安装