Skip to content

Commit

Permalink
Additional updates to README SPM installation
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshinejr committed Oct 21, 2017
1 parent 29a1aaa commit 8051e27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ your Swift version.
To integrate using Apple's Swift package manager, add the following as a dependency to your `Package.swift`:

```swift
.package(url: "https://github.com/Moya/Moya.git", .exact(Version(10, 0, 0, prereleaseIdentifiers: ["beta", "1"])))
.package(url: "https://github.com/Moya/Moya.git", .exact("10.0.0-beta.1")
```

and then specify `"Moya"` as a dependency of the Target in which you wish to use Moya.
Expand Down
4 changes: 2 additions & 2 deletions Readme_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ new auction app](https://github.com/Artsy/eidolon). 我们认为它已经可以
要集成使用苹果的Swift包管理器,请将以下内容作为依赖项添加到`Package.swift`:

```swift
.Package(url: "https://github.com/Moya/Moya.git", majorVersion: 9)
.package(url: "https://github.com/Moya/Moya.git", .exact("10.0.0-beta.1")
```

然后指定 `.Target(name: "Moya")` 使用Moya的依赖项.
Expand All @@ -74,7 +74,7 @@ import PackageDescription
let package = Package(
name: "MyApp",
dependencies: [
.Package(url: "https://github.com/Moya/Moya.git", majorVersion: 9)
.package(url: "https://github.com/Moya/Moya.git", .exact("10.0.0-beta.1")
]
)
```
Expand Down

0 comments on commit 8051e27

Please sign in to comment.