-
Notifications
You must be signed in to change notification settings - Fork 18
/
Package.swift
116 lines (114 loc) · 2.98 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "braze-swift-sdk",
defaultLocalization: "en",
platforms: [
.iOS(.v12),
.macCatalyst(.v13),
.tvOS(.v12),
.visionOS(.v1)
],
products: [
.library(
name: "BrazeKit",
targets: ["BrazeKit", "BrazeKitResources"]
),
.library(
name: "BrazeUI",
targets: ["BrazeUI"]
),
.library(
name: "BrazeLocation",
targets: ["BrazeLocation", "BrazeLocationResources"]
),
.library(
name: "BrazeNotificationService",
targets: ["BrazeNotificationService"]
),
.library(
name: "BrazePushStory",
targets: ["BrazePushStory", "BrazePushStoryResources"]
),
.library(
name: "BrazeKitCompat",
targets: ["BrazeKitCompat"]
),
.library(
name: "BrazeUICompat",
targets: ["BrazeUICompat"]
),
],
dependencies: [
.package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.19.7"),
/* ${dependencies-start} */
/* ${dependencies-end} */
],
targets: [
.binaryTarget(
name: "BrazeKit",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/11.4.0/BrazeKit.zip",
checksum: "809ce3973f8ebfc65ddf5b7aac8785fb9b1507c2e15e1e64dea9b3f583bb5fa7"
),
.target(
name: "BrazeKitResources",
resources: [
.process("Resources"),
]
),
.target(
name: "BrazeUI",
dependencies: [
.target(name: "BrazeKit"),
],
resources: [.process("Resources")]
),
.binaryTarget(
name: "BrazeLocation",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/11.4.0/BrazeLocation.zip",
checksum: "f957e6fb75ded976f7de565b4be0420d3c2912d4261f436e87ce353fc0b6b752"
),
.target(
name: "BrazeLocationResources",
resources: [
.process("Resources"),
]
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/11.4.0/BrazeNotificationService.zip",
checksum: "6804bfaf9c5efe55c109a6d63be264f9abc83acd8484718f9ddaef344f1371bf"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/11.4.0/BrazePushStory.zip",
checksum: "2e945d6f17812202a951a8598071c278acf6d2a9962e49abb27a8134a28e7ae0"
),
.target(
name: "BrazePushStoryResources",
resources: [
.process("Resources"),
]
),
.target(
name: "BrazeKitCompat",
dependencies: [
.target(name: "BrazeKit"),
.target(name: "BrazeLocation"),
]
),
.target(
name: "BrazeUICompat",
dependencies: [
"BrazeKitCompat",
"SDWebImage",
],
resources: [
.process("ABKNewsFeed/Resources"),
.process("ABKInAppMessage/Resources"),
.process("ABKContentCards/Resources")
],
publicHeadersPath: "include/AppboyUI"
),
]
)