-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPackage.swift
More file actions
51 lines (49 loc) · 1.49 KB
/
Package.swift
File metadata and controls
51 lines (49 loc) · 1.49 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
43
44
45
46
47
48
49
50
51
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "PPG_iOS_SDK",
platforms: [
.iOS(.v13)
],
products: [
// Push Notifications SDK
.library(
name: "PPG_framework",
targets: ["PPG_framework"]),
// In-App Messages SDK
.library(
name: "PPG_InAppMessages",
targets: ["PPG_InAppMessages"]),
],
dependencies: [
// Add your dependencies here if any
],
targets: [
// Push Notifications SDK Target
.target(
name: "PPG_framework",
dependencies: [],
path: "Sources/PPG_framework"),
.testTarget(
name: "PPG_frameworkTests",
dependencies: ["PPG_framework"],
path: "Tests/PPG_frameworkTests"),
// In-App Messages SDK Target
.target(
name: "PPG_InAppMessages",
dependencies: [],
path: "Sources/PPG_InAppMessages",
resources: [
.copy("Resources/Fonts")
],
linkerSettings: [
.linkedFramework("UIKit", .when(platforms: [.iOS])),
.linkedFramework("WebKit", .when(platforms: [.iOS])),
.linkedFramework("Foundation", .when(platforms: [.iOS]))
]),
.testTarget(
name: "PPG_InAppMessagesTests",
dependencies: ["PPG_InAppMessages"],
path: "Tests/PPG_InAppMessagesTests"),
]
)