This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
forked from Azure/azure-maps-ios-sdk-distribution
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
50 lines (48 loc) · 1.56 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
39
40
41
42
43
44
45
46
47
48
49
50
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "AzureMapsControl",
platforms: [.iOS(.v14)],
products: [
.library(
name: "AzureMapsControl",
targets: ["AzureMapsControl", "MapControlDependencies"]
)
],
dependencies: [
.package(
name: "MapLibre GL Native",
url: "https://github.com/maplibre/maplibre-gl-native-distribution.git",
.exact("5.12.0")
),
.package(
name: "MSAL",
url: "https://github.com/AzureAD/microsoft-authentication-library-for-objc",
from: "1.1.0"
)
],
targets: [
.binaryTarget(
name: "AzureMapsControl",
url: "https://github.com/Azure/azure-maps-ios-sdk-distribution/releases/download/1.0.0-pre.3/AzureMapsControl.xcframework.zip",
checksum: "1e45c519faf6dce423752d1f86594718c202cf680af65a47289af6967600811a"
),
.target(
name: "MapControlDependencies",
dependencies: [
.product(
name: "Mapbox",
package: "MapLibre GL Native",
condition: .when(platforms: [.iOS])
),
.product(
name: "MSAL",
package: "MSAL",
condition: .when(platforms: [.iOS])
)
],
path: "./Sources"
)
]
)