-
Notifications
You must be signed in to change notification settings - Fork 6
/
Package.swift
32 lines (29 loc) · 1.08 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.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
import Foundation
let version = "11.8.0"
let checksum = "da6acb48f0329cc956a8df6b4a571b6ca250e71e3b7b0c6dcced812732a0d969"
let package = Package(
name: "MapboxCoreMaps",
platforms: [.iOS(.v12), .macOS(.v10_15), .custom("visionos", versionString: "1.0")],
products: [
.library(
name: "MapboxCoreMaps",
targets: ["MapboxCoreMapsWrapper"]),
],
dependencies: [
.package(url: "https://github.com/mapbox/mapbox-common-ios.git", from: "24.8.0"),
],
targets: [
.target(
name: "MapboxCoreMapsWrapper",
dependencies: [.product(name: "MapboxCommon", package: "mapbox-common-ios"), "MapboxCoreMaps"]
),
.binaryTarget(
name: "MapboxCoreMaps",
url: "https://api.mapbox.com/downloads/v2/mobile-maps-core/releases/ios/packages/\(version)/MapboxCoreMaps.xcframework-dynamic.zip",
checksum: checksum
)
]
)