forked from Leanplum/Leanplum-iOS-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
33 lines (32 loc) · 1.11 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
// 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: "6.0.0")
],
targets: [
.binaryTarget(
name: "Leanplum",
url: "https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download/6.3.0/Leanplum.xcframework.zip",
checksum: "ec3705808fd7c05ee3d05cdf042be40db3642a894a7cb03b6018f1d56d328632"
),
.target(
name: "LeanplumLocation",
dependencies: ["Leanplum"],
path: "LeanplumSDKLocation",
publicHeadersPath: "LeanplumSDKLocation/include"
),
.target(name: "LeanplumTargetWrapper",
dependencies: ["Leanplum", .product(name: "CleverTapSDK", package: "clevertap-ios-sdk")],
path: "LeanplumTargetWrapper"
)
]
)