Podspec文件中依赖声明各种格式示例如下:
pod 'AFnetworking' #指定要引入的库的名称
pod 'AFnetworking', '5.0.0' #指定要引入的库的版本号
pod 'AFnetworking', '~> 5.0.0' #要引入的库大于指定版本号
pod 'AFnetworking', :git => "" #指定 Git 仓库的 URL 地址
pod 'AFnetworking', :branch => "" #指定要使用的 Git 分支名称
pod 'AFnetworking', :git => "", :tag => "" #指定要特定版本标签
pod 'AFnetworking', :git => "", :commit => "" #指定特定哈希值
pod 'AFnetworking', :path => "/Users/xxx/xxx" #指定本地路径