From 4dcf4d07291952d889a375bcfcb6e9c23730df2c Mon Sep 17 00:00:00 2001 From: Daniel Jilg Date: Tue, 9 Feb 2021 13:25:00 +0100 Subject: [PATCH] Update Readme to account for Package.swift format 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f287e7a79..1ace5adee 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Add the following entry in your Package.swift to start using ``` 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