-
Notifications
You must be signed in to change notification settings - Fork 61
/
Package.swift
36 lines (35 loc) · 1.22 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "Leanplum",
platforms: [
.iOS(.v9)
],
products: [
.library(name: "Leanplum", targets: ["LeanplumTargetWrapper"]),
.library(name: "LeanplumLocation", targets: ["LeanplumLocation"])
],
dependencies: [
.package(url: "https://github.com/CleverTap/clevertap-ios-sdk", from: "7.0.1")
],
targets: [
.binaryTarget(
name: "Leanplum",
url: "https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download/6.5.0/Leanplum.xcframework.zip",
checksum: "61c13073930fc28efb9004ddb97db1d2f9fb320bfd714840411087e3707ac848"
),
.target(
name: "LeanplumLocation",
dependencies: ["Leanplum"],
path: "LeanplumSDKLocation",
resources: [
.copy("LeanplumSDKLocation/PrivacyInfo.xcprivacy")
],
publicHeadersPath: "LeanplumSDKLocation/include"
),
.target(name: "LeanplumTargetWrapper",
dependencies: ["Leanplum", .product(name: "CleverTapSDK", package: "clevertap-ios-sdk")],
path: "LeanplumTargetWrapper"
)
]
)