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 10, 2023
1 parent b3161dd commit 664ba2b
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ let package = Package(
.iOS(.v12)
],
products: [
/* .library(
name: "InfobipMobileMessaging",
targets: ["MobileMessagingWrapper"]),*/
.library(
name: "IBMobileMessaging",
targets: ["MobileMessagingWrapper"]),
.library(
name: "IBMobileMessaging",
targets: ["MobileMessagingRTCWrapper"]),
],
dependencies: [
.package(url: "https://github.com/infobip/infobip-rtc-ios.git", from: "1.7.0")
Expand All @@ -22,9 +22,14 @@ let package = Package(
// .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",
url: "https://github.com/fortesdev/SPTest/blob/main/MobileMessaging.framework.zip",
checksum: "0184cc0617a92d4258529609247c432d507c36b650b367dd2d883e74c029010d"),
.binaryTarget(
name: "MobileMessagingRTC",
url: "https://github.com/fortesdev/SPTest/blob/main/MobileMessagingWithRTC.framework.zip",
checksum: "0184cc0617a92d4258529609247c432d507c36b650b367dd2d883e74c029010d"),

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

0 comments on commit 664ba2b

Please sign in to comment.