-
Notifications
You must be signed in to change notification settings - Fork 141
/
Package.swift
68 lines (66 loc) · 2.08 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
// 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.18.7")
],
targets: [
.binaryTarget(
name: "AppboyKitLibrary",
url: "https://github.com/Appboy/appboy-ios-sdk/releases/download/4.7.0/AppboyKitLibrary.xcframework.zip",
checksum: "1b05630bf08affc7944f4cb206fab41dc176aa0ca6ff76fd81718f83691b04dc"
),
.target(
name: "AppboyKit",
dependencies: ["SDWebImage", "AppboyKitLibrary"],
path: "AppboyKit",
resources: [
.process("Appboy.bundle")
],
linkerSettings: [
.linkedFramework("SystemConfiguration"),
.linkedFramework("QuartzCore"),
.linkedFramework("CoreImage"),
.linkedFramework("CoreText"),
.linkedFramework("WebKit"),
.linkedFramework("UserNotifications"),
.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: "AppboyPushStoryFramework",
url: "https://github.com/Appboy/appboy-ios-sdk/releases/download/4.7.0/AppboyPushStoryFramework.xcframework.zip",
checksum: "989ddc65ac05faf64df4ab0bb96bd8a34c69730c54e90487ab9eb9d89aed2b1c"
),
.target(
name: "AppboyPushStory",
dependencies: ["AppboyPushStoryFramework"],
path: "AppboyPushStory",
resources: [
.process("Resources/ABKPageView.nib")
]
)
]
)