From 9acece390fbc5021bdccbbd7cc0cd717cb156246 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Tue, 26 Nov 2024 20:07:05 -0800 Subject: [PATCH] Sync all syncs all (#441) * bump the pod * fix the tests --- Package.swift | 4 +--- Tests/XMTPTests/ConversationTests.swift | 4 ---- XMTP.podspec | 4 ++-- .../project.xcworkspace/xcshareddata/swiftpm/Package.resolved | 4 ++-- 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/Package.swift b/Package.swift index 85cd71a1..d659aa18 100644 --- a/Package.swift +++ b/Package.swift @@ -21,8 +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/sqlcipher/sqlcipher", exact: "4.5.7"), - .package(url: "https://github.com/xmtp/libxmtp-swift.git", exact: "3.0.7") + .package(url: "https://github.com/xmtp/libxmtp-swift.git", exact: "3.0.8") ], targets: [ .target( @@ -32,7 +31,6 @@ let package = Package( .product(name: "Connect", package: "connect-swift"), .product(name: "LibXMTP", package: "libxmtp-swift"), .product(name: "CryptoSwift", package: "CryptoSwift"), - .product(name: "SQLCipher", package: "sqlcipher") ] ), .target( diff --git a/Tests/XMTPTests/ConversationTests.swift b/Tests/XMTPTests/ConversationTests.swift index 9e724c84..4573d06e 100644 --- a/Tests/XMTPTests/ConversationTests.swift +++ b/Tests/XMTPTests/ConversationTests.swift @@ -198,8 +198,6 @@ class ConversationTests: XCTestCase { try await fixtures.boClient.conversations.sync() try await boDm?.sync() - try await alixClient.conversations.sync() - try await alixClient2.conversations.sync() try await alixClient2.preferences.syncConsent() try await alixClient.conversations.syncAllConversations() sleep(2) @@ -253,8 +251,6 @@ class ConversationTests: XCTestCase { ) try await alixGroup.send(content: "Hello") - try await alixClient.conversations.sync() - try await alixClient2.conversations.sync() try await alixClient.conversations.syncAllConversations() try await alixClient2.conversations.syncAllConversations() let alixGroup2 = try alixClient2.findGroup(groupId: alixGroup.id)! diff --git a/XMTP.podspec b/XMTP.podspec index 28c483ae..a573938a 100644 --- a/XMTP.podspec +++ b/XMTP.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "XMTP" - spec.version = "3.0.11" + spec.version = "3.0.12" spec.summary = "XMTP SDK Cocoapod" spec.description = <<-DESC @@ -22,7 +22,7 @@ Pod::Spec.new do |spec| spec.dependency 'CSecp256k1', '~> 0.2' spec.dependency "Connect-Swift", "= 1.0.0" - spec.dependency 'LibXMTP', '= 3.0.7' + spec.dependency 'LibXMTP', '= 3.0.8' spec.dependency 'CryptoSwift', '= 1.8.3' spec.dependency 'SQLCipher', '= 4.5.7' diff --git a/XMTPiOSExample/XMTPiOSExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/XMTPiOSExample/XMTPiOSExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 82187ce3..0e6dafca 100644 --- a/XMTPiOSExample/XMTPiOSExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/XMTPiOSExample/XMTPiOSExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -41,8 +41,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/xmtp/libxmtp-swift.git", "state" : { - "revision" : "74733290efe7f6d13c40b7ed41ec4cd4e5d95da3", - "version" : "3.0.7" + "revision" : "a98ff96416c63dd8a0166a4db94df461668922ca", + "version" : "3.0.8" } }, {