-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
32 lines (29 loc) · 1.06 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let mapsindoorsVersion = Version("4.9.0")
let checksum = "ed19eb40cd10b0fa945491c71e9d1f8d1cd56d2766f03e5837571c783fbb1b66"
let package = Package(
name: "MapsIndoorsCore",
platforms: [.iOS(.v14)],
products: [
.library(name: "MapsIndoorsCore", targets: ["MapsIndoorsCoreWrapper"]),
],
dependencies: [
.package(url: "https://github.com/MapsPeople/mapsindoors-ios.git", exact: mapsindoorsVersion),
],
targets: [
.binaryTarget(
name: "MapsIndoorsCore",
url: "https://github.com/MapsPeople/MapsIndoors-SDK-iOS/releases/download/\(mapsindoorsVersion)/MapsIndoorsCore.xcframework.zip",
checksum: checksum
),
.target(
name: "MapsIndoorsCoreWrapper",
dependencies: [
"MapsIndoorsCore",
.product(name: "MapsIndoors", package: "mapsindoors-ios"),
]
),
]
)