-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
42 lines (40 loc) · 1.36 KB
/
Package.swift
File metadata and controls
42 lines (40 loc) · 1.36 KB
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
// 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: "mParticle-Rokt",
platforms: [ .iOS(.v12) ],
products: [
.library(
name: "mParticle-Rokt",
targets: ["mParticle-Rokt-Swift"]),
],
dependencies: [
.package(name: "mParticle-Apple-SDK",
url: "https://github.com/mParticle/mparticle-apple-sdk",
.upToNextMajor(from: "8.0.0")),
.package(name: "Rokt-Widget",
url: "https://github.com/ROKT/rokt-sdk-ios",
.upToNextMajor(from: "4.16.1")),
],
targets: [
.target(
name: "mParticle-Rokt",
dependencies: [
.product(name: "mParticle-Apple-SDK", package: "mParticle-Apple-SDK"),
.product(name: "Rokt-Widget", package: "Rokt-Widget"),
],
path: "mParticle-Rokt",
publicHeadersPath: "."
),
.target(
name: "mParticle-Rokt-Swift",
dependencies: [
"mParticle-Rokt",
.product(name: "mParticle-Apple-SDK", package: "mParticle-Apple-SDK"),
.product(name: "Rokt-Widget", package: "Rokt-Widget"),
],
path: "mParticle-Rokt-Swift"
),
]
)