Skip to content

Commit

Permalink
Update Package.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
fortesdev authored Mar 9, 2023
1 parent 0b7330f commit eb55ce4
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
// swift-tools-version: 5.7
import PackageDescription
let targetDependencies: [Target.Dependency]

let package = Package(
name: "InfobipMobileMessaging",
name: "IBMobileMessaging",
platforms: [
.iOS(.v12)
],
products: [
.library(
/* .library(
name: "InfobipMobileMessaging",
targets: ["MobileMessagingWrapper"]),
targets: ["MobileMessagingWrapper"]),*/
.library(
name: "InfobipMobileMessagingRTC",
targets: ["MobileMessagingRTCWrapper"]),
name: "IBMobileMessaging",
targets: ["MobileMessagingWrapper"]),
],
dependencies: [
.package(name: "InfobipRTC", url: "https://github.com/infobip/infobip-rtc-ios.git", from: "1.7.0"),
.package(name: "MobileMessaging", url: "https://github.com/infobip/mobile-messaging-sdk-ios.git", from: "1.9.0")
]
.package(url: "https://github.com/infobip/infobip-rtc-ios.git", from: "1.7.0")
],
targets: [
.target(name: "MobileMessagingWrapper", dependencies: ["MobileMessaging"]),
.target(name: "MobileMessagingRTCWrapper", dependencies: ["MobileMessaging", "InfobipRTC"], swiftSettings: [.define("WEBRTCUI_ENABLED=1")]),
// .target(name: "MobileMessagingWrapper", dependencies: ["MobileMessaging"]),
.binaryTarget(
name: "MobileMessaging",
url: "https://github.com/infobip/mobile-messaging-sdk-ios/releases/download/10.8.4/MobileMessaging.xcframework.zip",
checksum: "0184cc0617a92d4258529609247c432d507c36b650b367dd2d883e74c029010d"),

.target(name: "MobileMessagingWrapper", dependencies: ["MobileMessaging","infobip-rtc-ios"], swiftSettings: [.define("WEBRTCUI_ENABLED=1")]),
]
)

0 comments on commit eb55ce4

Please sign in to comment.