存放Cocoapods中常用类库文件,为了和cocoapods上区分,spec统一用V开头
快速安装方法:
打开终端执行
curl -L https://raw.githubusercontent.com/heyuan110/PodsRepertory/master/INSTALL | sh
搞定!
建议将上面的命令设置为alias,方便快捷更新
后面就能直接pod search
对应的类库了,e.g:pod search VLayoutManager
XCODE项目里Podfile文件引用
platform :ios,'6.0'
inhibit_all_warnings!
pod 'VLayoutManager'
由于国内网络问题,最近执行pod install
还是pod update
都慢的出奇,添加--verbose
查看问题发现很多都卡在cocoapods spec master update上,所以在update或install的时忽略这个更新.
pod install --verbose --no-repo-update
pod update --verbose --no-repo-update