-
Notifications
You must be signed in to change notification settings - Fork 5
/
Package.swift
47 lines (45 loc) · 1.94 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
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "mParticle-Google-Analytics-Firebase-GA4",
platforms: [ .iOS(.v11), .tvOS(.v12) ],
products: [
.library(
name: "mParticle-Google-Analytics-Firebase-GA4",
targets: ["mParticle-Google-Analytics-Firebase-GA4"]),
.library(
name: "mParticle-Google-Analytics-Firebase-GA4-NoLocation",
targets: ["mParticle-Google-Analytics-Firebase-GA4-NoLocation"])
],
dependencies: [
.package(name: "mParticle-Apple-SDK",
url: "https://github.com/mParticle/mparticle-apple-sdk",
.upToNextMajor(from: "8.22.0")),
.package(name: "Firebase",
url: "https://github.com/firebase/firebase-ios-sdk.git",
.upToNextMajor(from: "10.23.0")),
],
targets: [
.target(
name: "mParticle-Google-Analytics-Firebase-GA4",
dependencies: [
.product(name: "mParticle-Apple-SDK", package: "mParticle-Apple-SDK"),
.product(name: "FirebaseAnalytics", package: "Firebase"),
],
path: "mParticle-Google-Analytics-Firebase-GA4",
exclude: ["Info.plist", "dummy.swift"],
resources: [.process("PrivacyInfo.xcprivacy")],
publicHeadersPath: "."),
.target(
name: "mParticle-Google-Analytics-Firebase-GA4-NoLocation",
dependencies: [
.product(name: "mParticle-Apple-SDK-NoLocation", package: "mParticle-Apple-SDK"),
.product(name: "FirebaseAnalytics", package: "Firebase"),
],
path: "SPM/mParticle-Google-Analytics-Firebase-GA4-NoLocation",
exclude: ["Info.plist", "dummy.swift"],
resources: [.process("PrivacyInfo.xcprivacy")],
publicHeadersPath: "."),
]
)