From b6d58ed66c2c2590ebfd21a458e5bbce9734f650 Mon Sep 17 00:00:00 2001 From: Cameron Voell <1103838+cameronvoell@users.noreply.github.com> Date: Tue, 17 Dec 2024 08:25:28 -0800 Subject: [PATCH] Update libxmtp ref for fork fix (#448) * update libxmtp ref for fork fix * bump podspec version * bump podspec to 3.0.17 --------- Co-authored-by: cameronvoell --- Gemfile.lock | 1 + Package.resolved | 4 ++-- Package.swift | 2 +- Sources/XMTPiOS/Conversations.swift | 3 ++- XMTP.podspec | 5 +++-- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 843946d8..ce56ba8c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -119,6 +119,7 @@ GEM PLATFORMS arm64-darwin-22 + arm64-darwin-23 DEPENDENCIES jazzy diff --git a/Package.resolved b/Package.resolved index 6522f9be..c0ca7c96 100644 --- a/Package.resolved +++ b/Package.resolved @@ -32,8 +32,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/xmtp/libxmtp-swift.git", "state" : { - "revision" : "bab83b5de3ed4713d50535e61bca281179bf04fd", - "version" : "3.0.10" + "revision" : "d6670069b6f7ae52415c691dbca4c37fbdaf87b4", + "version" : "3.0.12" } }, { diff --git a/Package.swift b/Package.swift index 061a1ade..624f0cc1 100644 --- a/Package.swift +++ b/Package.swift @@ -21,7 +21,7 @@ let package = Package( .package(url: "https://github.com/bufbuild/connect-swift", exact: "1.0.0"), .package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.4.3"), .package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", exact: "1.8.3"), - .package(url: "https://github.com/xmtp/libxmtp-swift.git", exact: "3.0.10") + .package(url: "https://github.com/xmtp/libxmtp-swift.git", exact: "3.0.12") ], targets: [ .target( diff --git a/Sources/XMTPiOS/Conversations.swift b/Sources/XMTPiOS/Conversations.swift index e6dce22d..ef7a73d1 100644 --- a/Sources/XMTPiOS/Conversations.swift +++ b/Sources/XMTPiOS/Conversations.swift @@ -80,7 +80,8 @@ public actor Conversations { try await ffiConversations.sync() } public func syncAllConversations() async throws -> UInt32 { - return try await ffiConversations.syncAllConversations() + // TODO: add consent state here + return try await ffiConversations.syncAllConversations(consentState: nil) } public func listGroups( diff --git a/XMTP.podspec b/XMTP.podspec index 4b864a90..26ef95cc 100644 --- a/XMTP.podspec +++ b/XMTP.podspec @@ -1,6 +1,7 @@ Pod::Spec.new do |spec| spec.name = "XMTP" - spec.version = "3.0.16" + spec.version = "3.0.17" + spec.summary = "XMTP SDK Cocoapod" spec.description = <<-DESC @@ -22,7 +23,7 @@ Pod::Spec.new do |spec| spec.dependency 'CSecp256k1', '~> 0.2' spec.dependency "Connect-Swift", "= 1.0.0" - spec.dependency 'LibXMTP', '= 3.0.10' + spec.dependency 'LibXMTP', '= 3.0.12' spec.dependency 'CryptoSwift', '= 1.8.3' spec.dependency 'SQLCipher', '= 4.5.7'