generated from segment-integrations/analytics-swift-destination-template
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Package.swift
48 lines (46 loc) · 1.05 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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "braze-segment-swift",
platforms: [
.iOS("13.0"),
.tvOS("12.0"),
],
products: [
.library(
name: "SegmentBraze",
targets: ["SegmentBraze"]
),
.library(
name: "SegmentBrazeUI",
targets: ["SegmentBrazeUI"]
),
],
dependencies: [
.package(
url: "https://github.com/segmentio/analytics-swift",
from: "1.1.2"
),
.package(
url:"https://github.com/braze-inc/braze-swift-sdk",
"11.1.1"..<"12.0.0"
),
],
targets: [
.target(
name: "SegmentBraze",
dependencies: [
.product(name: "Segment", package: "analytics-swift"),
.product(name: "BrazeKit", package: "braze-swift-sdk"),
]
),
.target(
name: "SegmentBrazeUI",
dependencies: [
.product(name: "Segment", package: "analytics-swift"),
.product(name: "BrazeKit", package: "braze-swift-sdk"),
.product(name: "BrazeUI", package: "braze-swift-sdk"),
]
),
]
)