-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
37 lines (34 loc) · 1.29 KB
/
Package.swift
File metadata and controls
37 lines (34 loc) · 1.29 KB
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
33
34
35
36
37
// swift-tools-version:5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
import Foundation
let commonVersion : Version = "24.14.0"
let mapGptVersion = "24.14.0"
let mapGptChecksum = "84fb0f2fbca4ade96bf3b4a6d00503f7f4ea0471bcf937c8e1d07c1fb6a16c0f"
let releaseType = "releases"
let package = Package(
name: "MapboxMapGpt",
platforms: [.iOS(.v12), .macOS(.v10_15), .custom("visionos", versionString: "1.0")],
products: [
.library(name: "MapboxMapGpt", targets: ["MapboxMapGptWrapper"]),
],
dependencies: [
.package(url: "https://github.com/mapbox/mapbox-common-ios.git", exact: commonVersion)
],
targets: [
.target(name: "MapboxMapGptWrapper", dependencies: [
.product(name: "MapboxCommon", package: "mapbox-common-ios"),
.target(name: "MapboxMapGpt")
]),
.binaryTarget(
name: "MapboxMapGpt",
url: "https://api.mapbox.com/downloads/v2/mapbox-common-mapgpt/\(releaseType)/ios/packages/\(mapGptVersion)/MapboxCommonGpt.zip",
checksum: mapGptChecksum
),
.testTarget(
name: "MapboxMapGptTests",
dependencies: ["MapboxMapGpt"]
)
],
cxxLanguageStandard: .cxx17
)