From d321f5edd13a47d5e4da005515d08617957c32c9 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Mon, 21 Dec 2020 19:51:28 +0900 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2703d78..bfc2e16 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,16 @@ Swift WebAssembly runtime powered by WAMR To use the wamr-swift library in a SwiftPM project, add the following line to the dependencies in your Package.swift file: ```swift -.package(url: "https://github.com/swiftwasm/wamr-swift", from: "0.1.0"), +let package = Package( + name: "Example", + dependencies: [ + .package(name: "WAMR", url: "https://github.com/swiftwasm/wamr-swift", from: "0.1.1"), + ], + targets: [ + .target(name: "Example", dependencies: ["WAMR"]), + ] +) + ```