-
Notifications
You must be signed in to change notification settings - Fork 2
/
Package.swift
65 lines (62 loc) · 1.93 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
// swift-tools-version:5.7
//
// Copyright (c) 2021-2024. NICE Ltd. All rights reserved.
//
// Licensed under the NICE License;
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://github.com/nice-devone/nice-cxone-mobile-sdk-ios/blob/main/LICENSE
//
// TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE CXONE MOBILE SDK IS PROVIDED ON
// AN “AS IS” BASIS. NICE HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS
// OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE.
//
import PackageDescription
import Foundation
let package = Package(
name: "CXoneChatSDK",
platforms: [
.iOS(.v15),
.macOS(.v11)
],
products: [
.library(
name: "CXoneChatSDK",
targets: ["CXoneChatSDK"]
),
],
dependencies: [
.package(url: "https://github.com/evgenyneu/keychain-swift", from: "20.0.0"),
.package(url: "https://github.com/Kolos65/Mockable", from: "0.0.11"),
],
targets: [
.target(
name: "CXoneChatSDK",
dependencies: [
.product(name: "KeychainSwift", package: "keychain-swift"),
.product(name: "Mockable", package: "Mockable")
],
path: "Sources",
resources: [
.copy("../PrivacyInfo.xcprivacy")
],
swiftSettings: [
.define("MOCKING", .when(configuration: .debug))
],
plugins: []
),
.testTarget(
name: "CXoneChatSDKTests",
dependencies: [
"CXoneChatSDK",
.product(name: "Mockable", package: "Mockable")
],
path: "Tests",
resources: [
.copy("CXOneChatSDKTests/Samples/sample_video.mov")
]
)
]
)