-
Notifications
You must be signed in to change notification settings - Fork 8
/
Package.swift
34 lines (32 loc) · 1.16 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
33
34
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
import Foundation
let version = "206.1.0"
let mapboxCommonVersion = Version("23.9.0")
let checksum = "021027ec0c664fb4c76d08545a68d403fab5c080f06ca2d568121a6e8a17e05e"
let package = Package(
name: "MapboxNavigationNative",
platforms: [.iOS(.v10)],
products: [
.library(
name: "MapboxNavigationNative",
targets: ["MapboxNavigationNativeWrapper"]
)
],
dependencies: [
.package(name: "MapboxCommon", url: "https://github.com/mapbox/mapbox-common-ios.git", .upToNextMajor(from: mapboxCommonVersion)),
],
targets: [
.target(
name: "MapboxNavigationNativeWrapper",
dependencies: ["MapboxCommon", "MapboxNavigationNative"]
),
.binaryTarget(
name: "MapboxNavigationNative",
url: "https://api.mapbox.com/downloads/v2/mobile-navigation-native/releases/ios/packages/\(version)/MapboxNavigationNative.xcframework.zip",
checksum: checksum
)
],
cxxLanguageStandard: .cxx14
)