1.编写“Podlist”文件
⚠️target为工程名
2.打开终端
cd 工程文件夹路径
pod install
3.其他
Xcode中的版本和Podlist中最好对应
图片说明

附上Podlist示例:

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '9.2'

target 'AppTest' do
inhibit_all_warnings!                  #取消三方框架导致的警告

pod 'MBProgressHUD'
pod 'SDWebImage'
pod 'AFNetworking'
pod 'Masonry'                          #控件适配
pod 'YYCache'                          #缓存工具库
pod 'YYText'                           #文本工具库

end

今日份踩坑:找工程目录的时候,忘记cd了。。。
还百度了半天。。。

狂扇自己耳光ing