-
Notifications
You must be signed in to change notification settings - Fork 55
/
Package.swift
92 lines (90 loc) · 3.32 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "CleverTapSDK",
platforms: [
.iOS(.v9)
],
products: [
.library(
name: "CleverTapSDK",
targets: ["CleverTapSDK"]),
.library(
name: "CleverTapLocation",
targets: ["CleverTapLocation"]
)
],
dependencies: [
.package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.11.1")
],
targets: [
.target(
name: "CleverTapSDK",
dependencies: ["SDWebImage"],
path: "CleverTapSDK",
exclude: [
"Info.plist",
"tvOS-Info.plist"
],
resources: [
.copy("AmazonRootCA1.cer"),
.copy("PrivacyInfo.xcprivacy"),
.process("InApps/resources"),
.process("Inbox/resources")
],
publicHeadersPath: "include",
cSettings: [
.headerSearchPath("./"),
.headerSearchPath("DisplayUnit/"),
.headerSearchPath("DisplayUnit/models"),
.headerSearchPath("DisplayUnit/controllers"),
.headerSearchPath("FeatureFlags/"),
.headerSearchPath("FeatureFlags/models"),
.headerSearchPath("FeatureFlags/controllers"),
.headerSearchPath("ProductConfig/"),
.headerSearchPath("ProductConfig/models"),
.headerSearchPath("ProductConfig/controllers"),
.headerSearchPath("InApps/"),
.headerSearchPath("InApps/Matchers/"),
.headerSearchPath("InApps/CustomTemplates/"),
.headerSearchPath("Inbox/"),
.headerSearchPath("Inbox/cells"),
.headerSearchPath("Inbox/config"),
.headerSearchPath("Inbox/controllers"),
.headerSearchPath("Inbox/models"),
.headerSearchPath("Inbox/views"),
.headerSearchPath("ProductExperiences/"),
.headerSearchPath("Session/"),
.headerSearchPath("Swizzling/"),
.headerSearchPath("FileDownload/")
],
linkerSettings: [
.linkedFramework("AVFoundation"),
.linkedFramework("AVKit"),
.linkedFramework("CoreData"),
.linkedFramework("CoreServices"),
.linkedFramework("CoreTelephony", .when(platforms: [.iOS])),
.linkedFramework("ImageIO"),
.linkedFramework("QuartzCore"),
.linkedFramework("Security"),
.linkedFramework("SystemConfiguration"),
.linkedFramework("UserNotifications"),
.linkedFramework("WebKit")
]
),
.target(
name: "CleverTapLocation",
path: "CleverTapLocation",
publicHeadersPath: "include",
cSettings: [
.headerSearchPath("./"),
.headerSearchPath("CleverTapLocation/"),
.headerSearchPath("CleverTapLocation/Classes/"),
.headerSearchPath("CleverTapLocation/Classes")
],
linkerSettings: [
.linkedFramework("CoreLocation")
]
)
]
)