在podfile中指定仓库地址
比如source 'https://github.com/CocoaPods/Specs.git'
比如source 'https://gitee.com/mirrors/CocoaPods-Specs.git'
:git
指定自定义 git 库 pod 'AFNetworking', :git => 'https://github.com/gowalla/AFNetworking.git' , :tag => '0.7.0'
:path
指定本地库 pod 'xxx', :path => '~/Documents/code/xxx'
:configurations
在指定编译环境下配置 pod 'PonyDebugger', :configurations => ['Debug', 'Beta']
:source
指定依赖关系源 pod 'PonyDebugger', :source => 'https://github.com/CocoaPods/Specs.git'
:subspecs
指定某个库的子组件 pod 'QueryKit', :subspecs => ['