Skip to content

Commit

Permalink
Update Readme to account for Package.swift format (#339)
Browse files Browse the repository at this point in the history
Adding the product dependency to the target by name only produces an error in Xcode 12.4. Instead, the product dependency should be given as a `.product`. Updated the README with the new format, so that new user's won't stumble over this.
  • Loading branch information
winsmith authored Feb 9, 2021
1 parent 2bacb97 commit ba845ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Add the following entry in your <code>Package.swift</code> to start using <code>
```
and `AsyncHTTPClient` dependency to your target:
```swift
.target(name: "MyApp", dependencies: ["AsyncHTTPClient"]),
.target(name: "MyApp", dependencies: [.product(name: "AsyncHTTPClient", package: "async-http-client")]),
```

#### Request-Response API
Expand Down

0 comments on commit ba845ee

Please sign in to comment.