-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
34 lines (31 loc) · 1.13 KB
/
Package.swift
File metadata and controls
34 lines (31 loc) · 1.13 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
// 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 = "2.17.0-beta.1"
let checksum = "e0275e121474443056d39bcc2a8a7a70688bc5e6f7fcec731733d263e6f81d32"
let commonVersion: Version = "24.17.0-beta.1"
let releaseType = "releases"
let package = Package(
name: "MapboxCoreSearch",
platforms: [.iOS(.v12), .macOS(.v10_15)],
products: [
.library(
name: "MapboxCoreSearch",
targets: ["MapboxCoreSearchWrapper"]),
],
dependencies: [
.package(url: "https://github.com/mapbox/mapbox-common-ios.git", exact: commonVersion),
],
targets: [
.target(
name: "MapboxCoreSearchWrapper",
dependencies: [.product(name: "MapboxCommon", package: "mapbox-common-ios"), "MapboxCoreSearch"]
),
.binaryTarget(
name: "MapboxCoreSearch",
url: "https://api.mapbox.com/downloads/v2/search-core-sdk/\(releaseType)/ios/packages/\(version)/MapboxCoreSearch.xcframework.zip",
checksum: checksum
)
]
)