forked from mapbox/mapbox-navigation-native-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
38 lines (36 loc) · 1.29 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
35
36
37
38
// 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 = "162.0.5"
let mapboxCommonVersion = Version("23.8.0")
let checksum = "fd0fbc205b9d707a6313db76461868a50318346a17dc8e7866183cc1beceb494"
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
),
.testTarget(
name: "MapboxNavigationNativeTests",
dependencies: ["MapboxNavigationNative"]
)
],
cxxLanguageStandard: .cxx14
)