-
Notifications
You must be signed in to change notification settings - Fork 25
/
Package.swift
47 lines (45 loc) · 1.61 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "mParticle-BranchMetrics",
platforms: [ .iOS(.v12) ],
products: [
.library(
name: "mParticle-BranchMetrics",
targets: ["mParticle-BranchMetrics"]),
.library(
name: "mParticle-BranchMetrics-NoLocation",
targets: ["mParticle-BranchMetrics-NoLocation"]
)
],
dependencies: [
.package(name: "mParticle-Apple-SDK",
url: "https://github.com/mParticle/mparticle-apple-sdk",
.upToNextMajor(from: "8.19.0")),
.package(name: "BranchSDK",
url: "https://github.com/BranchMetrics/ios-branch-sdk-spm",
.upToNextMajor(from: "3.4.1")),
],
targets: [
.target(
name: "mParticle-BranchMetrics",
dependencies: [
.product(name: "mParticle-Apple-SDK", package: "mParticle-Apple-SDK"),
.product(name: "BranchSDK", package: "BranchSDK"),
],
path: "mParticle-BranchMetrics",
resources: [.process("PrivacyInfo.xcprivacy")],
publicHeadersPath: "."
),
.target(
name: "mParticle-BranchMetrics-NoLocation",
dependencies: [
.product(name: "mParticle-Apple-SDK-NoLocation", package: "mParticle-Apple-SDK"),
.product(name: "BranchSDK", package: "BranchSDK"),
],
path: "SPM/mParticle-BranchMetrics-NoLocation",
resources: [.process("PrivacyInfo.xcprivacy")],
publicHeadersPath: "."
)
]
)