1:cd定位到工程文件夹位置
2:vim Podfile 创建文件
3:输入i进入编辑模式,然后输入以下内容编辑
platform:ios,’9.0’
target”工程名”do
pod ‘AFNetworking’
pod’Masonry’
end
然后esc,输入: wq 回车后 pod install安装即可
1:cd定位到工程文件夹位置
2:vim Podfile 创建文件
3:输入i进入编辑模式,然后输入以下内容编辑
platform:ios,’9.0’
target”工程名”do
pod ‘AFNetworking’
pod’Masonry’
end
然后esc,输入: wq 回车后 pod install安装即可