-
Notifications
You must be signed in to change notification settings - Fork 5
/
Package.swift
76 lines (75 loc) · 2.59 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
70
71
72
73
74
75
76
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "GliaWidgets",
defaultLocalization: .init(stringLiteral: "en"),
platforms: [
.iOS(.v13)
],
products: [
.library(
name: "GliaWidgets",
targets: ["GliaWidgets"]
),
.library(
name: "GliaWidgetsXcf",
targets: ["GliaWidgetsXcf"]
)
],
targets: [
.binaryTarget(
name: "GliaCoreDependency",
url: "https://github.com/salemove/ios-bundle/releases/download/1.3.5/GliaCoreDependency.xcframework.zip",
checksum: "a7ca12542bc8470af16632311e96a1925f102e0ee6d36f5c86e422aebe655af1"
),
.binaryTarget(
name: "TwilioVoice",
url: "https://github.com/salemove/ios-bundle/releases/download/0.33.0/TwilioVoice.xcframework.zip",
checksum: "34288e0876a8840fa51d3813046cf1f40a5939079bea23ace5afe6e752f12f9e"
),
.binaryTarget(
name: "WebRTC",
url: "https://github.com/salemove/ios-bundle/releases/download/0.33.0/WebRTC.xcframework.zip",
checksum: "f76e410f608d96989ba0312e099697703a37b4414f8f46bb9e30c3d9b4291a52"
),
.binaryTarget(
name: "GliaCoreSDK",
url: "https://github.com/salemove/ios-bundle/releases/download/1.5.9/GliaCoreSDK.xcframework.zip",
checksum: "0db24656c38c3d33ba27bc7fed984687b444527ef63aef8d800dc8e87b72ec1e"
),
.binaryTarget(
name: "GliaWidgetsSDKXcf",
url: "https://github.com/salemove/ios-sdk-widgets/releases/download/2.8.5/GliaWidgetsXcf.xcframework.zip",
checksum: "f0cf52c100a8158fbb129f78cf85dcfe2c9f5b67bc7be4945ee1e16db4a64762"
),
.target(
name: "GliaWidgets",
dependencies: [
.target(name: "GliaCoreDependency"),
.target(name: "TwilioVoice"),
.target(name: "WebRTC"),
.target(name: "GliaCoreSDK")
],
path: "GliaWidgets",
exclude: [
"Cartfile.resolved",
"Cartfile",
"Info.plist"
],
resources: [
.process("Resources")
]
),
.target(
name: "GliaWidgetsXcf",
dependencies: [
"GliaCoreSDK",
"GliaCoreDependency",
"TwilioVoice",
"WebRTC",
"GliaWidgetsSDKXcf"
],
path: "Sources/GliaWidgetsSDK-xcframework"
)
]
)