CocoaPods - 直接使用 library
参考链接
Usage
To use the master branch of the repo:
1 | pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git' |
To use a different branch of the repo:
1 | pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'dev' |
To use a tag of the repo:
1 | pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :tag => '3.1.1' |
Or specify a commit:
1 | pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :commit => '0f506b1c45' |