Browse Source

Update Carthage and SPM installation instructions.

Jon Shier 7 years ago
parent
commit
447e3fb622
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -95,7 +95,7 @@ pod 'Alamofire', '~> 5.0.0.beta.1'
 [Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate Alamofire into your Xcode project using Carthage, specify it in your `Cartfile`:
 
 ```ogdl
-github "Alamofire/Alamofire" ~> 5.0.0.beta.1
+github "Alamofire/Alamofire" "5.0.0.beta.1"
 ```
 
 ### Swift Package Manager
@@ -108,7 +108,7 @@ Once you have your Swift package set up, adding Alamofire as a dependency is as
 
 ```swift
 dependencies: [
-    .package(url: "https://github.com/Alamofire/Alamofire.git", from: "5.0.0.beta.1")
+    .package(url: "https://github.com/Alamofire/Alamofire.git", from: "5.0.0-beta.1"))
 ]
 ```