-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
38 lines (36 loc) · 1.47 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
// swift-tools-version: 5.7
import PackageDescription
let targetDependencies: [Target.Dependency]
let package = Package(
name: "MobileMessaging",
platforms: [
.iOS(.v12)
],
products: [
.library(
name: "MobileMessaging",
targets: ["MobileMessagingWrapper"]),
.library(
name: "MobileMessagingWithRTC",
targets: ["MobileMessagingRTCWrapper"]),
.library(
name: "MobileMessagingRTC",
targets: ["MobileMessagingRTC"]),
],
dependencies: [
.package(url: "https://github.com/infobip/infobip-rtc-ios.git", from: "1.7.0")
],
targets: [
// .target(name: "MobileMessagingWrapper", dependencies: ["MobileMessaging"]),
.binaryTarget(
name: "MobileMessaging",
url: "https://github.com/infobip/mobile-messaging-sdk-ios/releases/download/10.9.0/MobileMessaging.xcframework.zip",
checksum: "0184cc0617a92d4258529609247c432d507c36b650b367dd2d883e74c029010d"),
.binaryTarget(
name: "MobileMessagingRTC",
url: "https://github.com/fortesdev/SPTest/blob/main/MobileMessagingWithRTC.xcframework.zip",
checksum: "0184cc0617a92d4258529609247c432d507c36b650b367dd2d883e74c029010d"),
.target(name: "MobileMessagingWrapper", dependencies: ["MobileMessaging"]),
.target(name: "MobileMessagingRTCWrapper", dependencies: ["MobileMessagingRTC","infobip-rtc-ios"], swiftSettings: [.define("WEBRTCUI_ENABLED=1")]),
]
)