platform:ios,'8.0'use_frameworks!
target'MyApp'dopod'AFNetworking','~> 2.6'pod'ORStackView','~> 3.0'pod'SwiftyJSON','~> 2.3'
pod'Qiniu','~>7.1'end
http://brew.sh/index_zh-cn.html更新ruby 环境
chenzhendeMacBook-Air:MyMapOfGoogle shenzhen$touch podfile
chenzhendeMacBook-Air:MyMapOfGoogle shenzhen$open podfile
chenzhendeMacBook-Air:MyMapOfGoogle shenzhen$pod install --no-repo-update
最近使用CocoaPods来添加第三方类库,无论是执行pod install还是pod update都卡在了Analyzing dependencies不动
原因在于当执行以上两个命令的时候会升级CocoaPods的spec仓库,加一个参数可以省略这一步,然后速度就会提升不少。加参数的命令如下:
pod install --verbose --no-repo-update
pod update --verbose --no-repo-update
网友评论