Browse Source

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

Christian Noon 10 năm trước cách đây
mục cha
commit
6453f83b18
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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