-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
64 lines (62 loc) · 2.19 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "PACECloudSDK",
defaultLocalization: "de",
platforms: [
.iOS(.v15),
.macOS(.v10_15)
],
products: [
.library(
name: "PACECloudSDK",
targets: ["PACECloudSDK"]),
.library(
name: "PACECloudSlimSDK",
targets: ["PACECloudSlimSDK"]
),
.library(
name: "PACECloudWatchSDK",
targets: ["PACECloudWatchSDK"]
)
],
dependencies: [
.package(name: "AppAuth", url: "https://github.com/pace/AppAuth-iOS", .exact("1.5.0")),
.package(name: "SwiftProtobuf", url: "https://github.com/apple/swift-protobuf.git", .exact("1.22.0")),
.package(name: "Japx", url: "https://github.com/pace/Japx", .exact("5.0.0")),
],
targets: [
.target(
name: "PACECloudSDK",
dependencies: [
"AppAuth",
"SwiftProtobuf",
"Japx"
],
path: "PACECloudSDK",
exclude: [
"Info.plist",
"API/POI/Generated/README.md",
"API/Pay/Generated/README.md",
"API/Fueling/Generated/README.md",
"API/User/Generated/README.md"
],
resources: [
.process("Utils/Plists"),
.process("AppKit/Assets/Images"),
.process("POIKit/POIKitApi/Model/tile_query_request.proto"),
.process("POIKit/POIKitApi/Model/tile_query_response.proto"),
.process("POIKit/POISearch/Model/vector_tile.proto")
]),
.binaryTarget(
name: "PACECloudSlimSDK",
url: "https://github.com/pace/cloud-sdk-ios/releases/download/24.0.1/PACECloudSlimSDK.zip",
checksum: "d94fdf96f49f93df6046a6af3f2f4cac46bb357997b1afc8be8bb3af5e58e22b"
),
.binaryTarget(
name: "PACECloudWatchSDK",
url: "https://github.com/pace/cloud-sdk-ios/releases/download/24.0.1/PACECloudWatchSDK.zip",
checksum: "77d1aa4995258cdf8616eed4846e2aeec41b109837d88290ea74189ebddbf8d6"
)
]
)