forked from braze-inc/braze-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
69 lines (67 loc) · 2.15 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
69
// 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.3.1/AppboyKitLibrary.xcframework.zip",
checksum: "3324b0b97b3ab7ca3f751e1673446634063d10f0068230f8526f38504d56eb8c"
),
.target(
name: "AppboyKit",
dependencies: ["SDWebImage", "AppboyKitLibrary"],
path: "AppboyKit",
resources: [
.process("Appboy.bundle"),
.process("headers/AppboyKitLibrary/ZipArchive_LICENSE.txt")
],
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.3.1/AppboyPushStoryFramework.xcframework.zip",
checksum: "c7ef104114a6b5ced016d00e461815fbce4eaad6bf08388709dd9b24f7c4b272"
),
.target(
name: "AppboyPushStory",
dependencies: ["AppboyPushStoryFramework"],
path: "AppboyPushStory",
resources: [
.process("Resources/ABKPageView.nib")
]
)
]
)