终端使用cocoapods
2017-03-28 本文已影响0人
1ac244776e12
1、cd 到项目根目录
直接把项目目录拖拽到终端
2、touch Podfile 安装Podfile,
输入ls 查看安装是否成功 有Podfile即为成功
3、写入 vim Podfile
4、输入i 进入插入模式
![](https://img.haomeiwen.com/i3297936/3a008974573103bc.png)
5、输入工程名字,end结尾
![](https://img.haomeiwen.com/i3297936/de219654fa6055aa.png)
6、输入esc :wq 退出
7、pod install安装
8、更新pod update --no-repo-update
1、cd 到项目根目录
直接把项目目录拖拽到终端
2、touch Podfile 安装Podfile,
输入ls 查看安装是否成功 有Podfile即为成功
3、写入 vim Podfile
4、输入i 进入插入模式
5、输入工程名字,end结尾
6、输入esc :wq 退出
7、pod install安装
8、更新pod update --no-repo-update