Pod 新建项目
2018-06-04 本文已影响16人
Taoai_M
1,打开命令行
cd 你的项目目录
2,新建Podfile
touch Podfile
3, 编辑Podfile
vim Podfile
4, 修改“项目名称”
platform:ios,'8.0'
target'项目名称' do
pod 'AFNetworking'
end
5,点击esc健,键入
:wq
6, 执行pod安装,
pod install
cd 你的项目目录
touch Podfile
vim Podfile
platform:ios,'8.0'
target'项目名称' do
pod 'AFNetworking'
end
:wq
pod install