-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathPackage.swift
34 lines (32 loc) · 1002 Bytes
/
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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "CometChatUIKitSwift",
defaultLocalization: "en",
platforms: [
.iOS(.v13)
],
products: [
// This defines the library that will be used by the consumers of your SPM package.
.library(
name: "CometChatUIKitSwift",
targets: ["CometChatUIKitSwift"]
)
],
dependencies: [
// Adding the CometChatSDK dependency.
.package(
name: "CometChatSDK",
url: "https://github.com/cometchat/chat-sdk-ios.git",
.exact("4.0.55")
)
],
targets: [
// Defining the binary target for CometChatUIKitSwift.
.binaryTarget(
name: "CometChatUIKitSwift",
url: "https://library.cometchat.io/ios/v4.0/xcode15/CometChatUIKitSwift_5_0_0.xcframework.zip",
checksum: "9ad1d7b4ae30e4e4b78a1f3f21a7f7ea89e422aeba892536bd6f7fa3e490167a"
)
]
)