forked from braze-inc/braze-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
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.8.2")
],
targets: [
.binaryTarget(
name: "AppboyKitLibrary",
url: "https://github.com/Appboy/appboy-ios-sdk/releases/download/4.5.4/AppboyKitLibrary.xcframework.zip",
checksum: "dd5e2b70e4832ee84be03e094409b122745e10846649416c3ac6754829fdac0f"
),
.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.5.4/AppboyPushStoryFramework.xcframework.zip",
checksum: "b88f4e1306d3111b47ae9fb88d267557e41463470330cfe98ae4619096776ee5"
),
.target(
name: "AppboyPushStory",
dependencies: ["AppboyPushStoryFramework"],
path: "AppboyPushStory",
resources: [
.process("Resources/ABKPageView.nib")
]
)
]
)