瀏覽代碼

Updated CocoaPods and Carthage installation instructions for swift-2.0 branch.

Christian Noon 10 年之前
父節點
當前提交
6453f83b18
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -55,7 +55,7 @@ source 'https://github.com/CocoaPods/Specs.git'
 platform :ios, '8.0'
 use_frameworks!
 
-pod 'Alamofire', '~> 1.2'
+pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'swift-2.0'
 ```
 
 Then, run the following command:
@@ -78,7 +78,7 @@ $ brew install carthage
 To integrate Alamofire into your Xcode project using Carthage, specify it in your `Cartfile`:
 
 ```ogdl
-github "Alamofire/Alamofire" >= 1.2
+github "Alamofire/Alamofire" "swift-2.0"
 ```
 
 ### Manually