forked from Appboy/appboy-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
63 lines (61 loc) · 2.02 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "Appboy_iOS_SDK",
defaultLocalization: "en",
platforms: [
.iOS(.v9)
],
products: [
.library(name: "AppboyKit", type: .static, targets: ["AppboyKit"]),
.library(name: "AppboyUI", targets: ["AppboyUI"]),
.library(name: "AppboyPushStory", targets: ["AppboyPushStory"])
],
dependencies: [
.package(name: "SDWebImage", url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.8.2")
],
targets: [
.binaryTarget(
name: "AppboyKitLibrary",
url: "https://github.com/Appboy/appboy-ios-sdk/releases/download/3.31.1/AppboyKitLibrary.xcframework.zip",
checksum: "8cdd899135da8ce78e3230296c5a200ce60345cadfa2fb8029a719dfca7709cc"
),
.target(
name: "AppboyKit",
dependencies: ["SDWebImage", "AppboyKitLibrary"],
path: "AppboyKit",
resources: [
.process("Appboy.bundle"),
.process("headers/AppboyKitLibrary/ZipArchive_LICENSE.txt")
],
publicHeadersPath: "headers/AppboyKitLibrary",
linkerSettings: [
.linkedFramework("SystemConfiguration"),
.linkedFramework("QuartzCore"),
.linkedFramework("CoreImage"),
.linkedFramework("CoreText"),
.linkedFramework("WebKit"),
.linkedFramework("UserNotifications"),
.linkedFramework("StoreKit"),
.linkedFramework("CoreTelephony", .when(platforms: [.iOS])),
.linkedLibrary("z"),
]
),
.target(
name: "AppboyUI",
dependencies: ["AppboyKit"],
path: "AppboyUI",
resources: [
.process("ABKNewsFeed/Resources"),
.process("ABKInAppMessage/Resources"),
.process("ABKContentCards/Resources")
],
publicHeadersPath: "include/AppboyUI"
),
.binaryTarget(
name: "AppboyPushStory",
url: "https://github.com/Appboy/appboy-ios-sdk/releases/download/3.31.1/AppboyPushStory.xcframework.zip",
checksum: "b82965990e3d9a1558d646471fae76e673244ffaec65431ae598048ac5730455"
)
]
)