forked from mapbox/mapbox-core-maps-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
32 lines (29 loc) · 1.09 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.11.0-rc.2"
let checksum = "227c81ffea4e605f921f36bb2ddfc2a9ab0a6cd4dd532544df19db96964733dd"
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.11.0-rc.2"),
],
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
)
]
)