From 8f194c1c4a9fd69ba0aa74cc614fae617247b128 Mon Sep 17 00:00:00 2001 From: Jed Gyeong Date: Fri, 6 Dec 2024 14:41:03 +0900 Subject: [PATCH] Added template module config to package setting file. --- .../SendbirdUIMessageTemplateTarget.swift | 1 + Package.resolved | 4 ++-- Package.swift | 17 +++++++++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 Framework/Module/MessageTemplate/SendbirdUIMessageTemplateTarget.swift diff --git a/Framework/Module/MessageTemplate/SendbirdUIMessageTemplateTarget.swift b/Framework/Module/MessageTemplate/SendbirdUIMessageTemplateTarget.swift new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Framework/Module/MessageTemplate/SendbirdUIMessageTemplateTarget.swift @@ -0,0 +1 @@ + diff --git a/Package.resolved b/Package.resolved index 396c1fb8c..48109daab 100644 --- a/Package.resolved +++ b/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/sendbird/sendbird-chat-sdk-ios", "state": { "branch": null, - "revision": "3125065015982175879093cac9c71b5adbe0749e", - "version": "4.19.0" + "revision": "a1e81365d1dd0cc309c300632b77965317fd1586", + "version": "4.23.1" } } ] diff --git a/Package.swift b/Package.swift index b9d72c833..80976bb45 100644 --- a/Package.swift +++ b/Package.swift @@ -10,6 +10,10 @@ let package = Package( name: "SendbirdUIKit", targets: ["SendbirdUIKitTarget"] ), + .library( + name: "SendbirdUIMessageTemplate", + targets: ["SendbirdUIMessageTemplateTarget"] + ), ], dependencies: [ .package( @@ -24,6 +28,11 @@ let package = Package( url: "https://github.com/sendbird/sendbird-uikit-ios/releases/download/3.28.1/SendbirdUIKit.xcframework.zip", // SendbirdUIKit_URL checksum: "505f30d55e1a2d2ab270c7d0ee4542da359fa58c3ad07190c5f631d02e0d3143" // SendbirdUIKit_CHECKSUM ), + .binaryTarget( + name: "SendbirdUIMessageTemplate", + url: "https://github.com/sendbird/sendbird-uikit-ios/releases/download/3.28.1/SendbirdUIMessageTemplate.xcframework.zip", // SendbirdUIMessageTemplate_URL + checksum: "505f30d55e1a2d2ab270c7d0ee4542da359fa58c3ad07190c5f631d02e0d3143" // SendbirdUIMessageTemplate_CHECKSUM + ), .target( name: "SendbirdUIKitTarget", dependencies: [ @@ -33,5 +42,13 @@ let package = Package( path: "Framework/Dependency", exclude: ["../../Sample", "../../Sources"] ), + .target( + name: "SendbirdUIMessageTemplateTarget", + dependencies: [ + .product(name: "SendbirdChatSDK", package: "SendbirdChatSDK") + ], + path: "Framework/Module/MessageTemplate", + exclude: ["../../Sample", "../../Sources"] + ), ] )