pod
1. 到工程所在的文件夹下, 用命令行创建一个 文件: touch Podfile
2. vim Podfile
3. 在vim编辑界面下,输入 i
4. 复制
()例如:
use_frameworks!
platform :ios, '8.0' // 8.0 以上
pod 'AFNetworking'
pod 'SDWebImage'
pod 'SVProgressHUD'
pod 'FMDB'
到 vim里
5. 按 esc
6. 输入 :wq
7. pod install -- 这个安装比较慢 -> 建议大家采用 pod install --no-repo-update