forked from mukeshthawani/ApplozicSwift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
44 lines (43 loc) · 1.61 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "ApplozicSwift",
defaultLocalization: "en",
platforms: [.iOS(.v12)],
products: [
.library(
name: "ApplozicSwift",
targets: ["ApplozicSwift"]
),
.library(
name: "RichMessageKit",
targets: ["RichMessageKit"]
),
],
dependencies: [
.package(name: "Applozic", url: "https://github.com/AppLozic/Applozic-Chat-iOS-Framework.git", .exact("8.3.0")),
.package(name: "Kingfisher", url: "https://github.com/onevcat/Kingfisher.git", .exact("7.0.0")),
.package(name: "SwipeCellKit", url: "https://github.com/SwipeCellKit/SwipeCellKit.git", from: "2.7.1"),
],
targets: [
.target(name: "ApplozicSwift",
dependencies: ["RichMessageKit",
.product(name: "ApplozicCore", package: "Applozic"),
"Kingfisher",
"SwipeCellKit"],
path: "Sources",
exclude: ["Extras"],
linkerSettings: [
.linkedFramework("Foundation"),
.linkedFramework("SystemConfiguration"),
.linkedFramework("UIKit", .when(platforms: [.iOS])),
]),
.target(name: "RichMessageKit",
dependencies: [],
path: "RichMessageKit",
linkerSettings: [
.linkedFramework("Foundation"),
.linkedFramework("UIKit", .when(platforms: [.iOS])),
]),
]
)