From 459dcf7bf112e164417150f502bacb08145f88e8 Mon Sep 17 00:00:00 2001 From: Dongkyu Kim Date: Sun, 20 Dec 2020 22:46:11 +0900 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 80e17d9..16ad8e6 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Add the following line to the `dependencies` in your [`Package.swift`](https://developer.apple.com/documentation/swift_packages/package) file: ```swift -.package(url: "https://github.com/stleamist/NMapsMap-SwiftPM.git", .upToNextMajor(from: "3.10.0")) +.package(name: "NMapsMap", url: "https://github.com/stleamist/NMapsMap-SwiftPM.git", .upToNextMajor(from: "3.10.0")) ``` Next, add `NMapsMap` as a dependency for your targets: @@ -61,7 +61,7 @@ import PackageDescription let package = Package( name: "MyPackage", dependencies: [ - .package(url: "https://github.com/stleamist/NMapsMap-SwiftPM.git", .upToNextMajor(from: "3.10.0")) + .package(name: "NMapsMap", url: "https://github.com/stleamist/NMapsMap-SwiftPM.git", .upToNextMajor(from: "3.10.0")) ], targets: [ .target(name: "MyTarget", dependencies: ["NMapsMap"])