From c6d21dcd7f3c9304ec5840e9e274e9ddaa9b6983 Mon Sep 17 00:00:00 2001 From: Valere Date: Thu, 15 Oct 2026 18:23:19 +0200 Subject: [PATCH] Bump element-call-ios to 0.1.0-rc.11 and the Matrix Rust SDK to 26.10.15 element-call-ios 0.1.0-rc.11 needs the SDK's 26.10.15 widget capabilities, and brings matrix-rust-rtc 0.5.0-rc.5. The SDK drops Room.roomEventsDebugString, whose mock goes with it. Co-Authored-By: Claude Opus 5.5 --- .../Sources/Generated/SDKGeneratedMocks.swift | 33 ------------------- ElementX.xcodeproj/project.pbxproj | 4 +-- .../xcshareddata/swiftpm/Package.resolved | 14 ++++---- project.yml | 4 +-- 4 files changed, 11 insertions(+), 44 deletions(-) diff --git a/Components/SDKMocks/Sources/Generated/SDKGeneratedMocks.swift b/Components/SDKMocks/Sources/Generated/SDKGeneratedMocks.swift index 5cedc4b28..c427312e7 100644 --- a/Components/SDKMocks/Sources/Generated/SDKGeneratedMocks.swift +++ b/Components/SDKMocks/Sources/Generated/SDKGeneratedMocks.swift @@ -12325,39 +12325,6 @@ open class RoomSDKMock: MatrixRustSDK.Room, @unchecked Sendable { } } - //MARK: - roomEventsDebugString - - open var roomEventsDebugStringThrowableError: Error? - private let roomEventsDebugStringCallsCountLock = NSLock() - private var roomEventsDebugStringUnderlyingCallsCount = 0 - open var roomEventsDebugStringCallsCount: Int { - get { roomEventsDebugStringCallsCountLock.withLock { roomEventsDebugStringUnderlyingCallsCount } } - set { roomEventsDebugStringCallsCountLock.withLock { roomEventsDebugStringUnderlyingCallsCount = newValue } } - } - open var roomEventsDebugStringCalled: Bool { - return roomEventsDebugStringCallsCount > 0 - } - - private let roomEventsDebugStringReturnValueLock = NSLock() - open var roomEventsDebugStringUnderlyingReturnValue: [String]! - open var roomEventsDebugStringReturnValue: [String]! { - get { roomEventsDebugStringReturnValueLock.withLock { roomEventsDebugStringUnderlyingReturnValue } } - set { roomEventsDebugStringReturnValueLock.withLock { roomEventsDebugStringUnderlyingReturnValue = newValue } } - } - open var roomEventsDebugStringClosure: (() async throws -> [String])? - - open override func roomEventsDebugString() async throws -> [String] { - if let error = roomEventsDebugStringThrowableError { - throw error - } - roomEventsDebugStringCallsCountLock.withLock { roomEventsDebugStringUnderlyingCallsCount += 1 } - if let roomEventsDebugStringClosure = roomEventsDebugStringClosure { - return try await roomEventsDebugStringClosure() - } else { - return roomEventsDebugStringReturnValue - } - } - //MARK: - roomInfo open var roomInfoThrowableError: Error? diff --git a/ElementX.xcodeproj/project.pbxproj b/ElementX.xcodeproj/project.pbxproj index 52fcd6098..aeb5ca682 100644 --- a/ElementX.xcodeproj/project.pbxproj +++ b/ElementX.xcodeproj/project.pbxproj @@ -11059,7 +11059,7 @@ repositoryURL = "https://github.com/element-hq/element-call-ios"; requirement = { kind = exactVersion; - version = "0.1.0-rc.10"; + version = "0.1.0-rc.11"; }; }; 395DE6AE429B7ACC7C7FE31D /* XCRemoteSwiftPackageReference "KZFileWatchers" */ = { @@ -11115,7 +11115,7 @@ repositoryURL = "https://github.com/element-hq/matrix-rust-components-swift"; requirement = { kind = exactVersion; - version = 26.10.13; + version = 26.10.15; }; }; 701C7BEF8F70F7A83E852DCC /* XCRemoteSwiftPackageReference "GZIP" */ = { diff --git a/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 69a2c45ca..06d2d0c62 100644 --- a/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "2cc68b18b51d60f7442d68fbca36af9e2fb7aba34715585ac5343d8ef2ca3644", + "originHash" : "fbdb76ae8c78e5a86db4812456fcb4da5795eed4bc8f6715726fec41e87a1e0f", "pins" : [ { "identity" : "compound-design-tokens", @@ -60,8 +60,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/element-hq/element-call-ios", "state" : { - "revision" : "74e4a10596119304a83708c6482fb7387a3b0247", - "version" : "0.1.0-rc.10" + "revision" : "d77b4ee326582083cabe53ffbd872a751c3cb989", + "version" : "0.1.0-rc.11" } }, { @@ -176,8 +176,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/element-hq/matrix-rust-components-swift", "state" : { - "revision" : "930385a6bc54c8663767f504d7a63202f541a6d3", - "version" : "26.10.13" + "revision" : "dbdf59e13d0eade7fd9cbd01cfd564693b85b761", + "version" : "26.10.15" } }, { @@ -185,8 +185,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/element-hq/matrix-rust-rtc", "state" : { - "revision" : "53880ef1ef66b62df555ce71ccd1d6c85b813596", - "version" : "0.5.0-rc.2" + "revision" : "c7a81b6742dc5e571b90b05f5109677384efb933", + "version" : "0.5.0-rc.5" } }, { diff --git a/project.yml b/project.yml index 553879b2f..09c06b39d 100644 --- a/project.yml +++ b/project.yml @@ -75,13 +75,13 @@ packages: # Element/Matrix dependencies MatrixRustSDK: url: https://github.com/element-hq/matrix-rust-components-swift - exactVersion: 26.10.13 + exactVersion: 26.10.15 # path: ../matrix-rust-sdk Compound: path: compound-ios ElementCall: url: https://github.com/element-hq/element-call-ios - exactVersion: 0.1.0-rc.10 + exactVersion: 0.1.0-rc.11 # path: ../element-call-ios BuildExtensions: path: Components/BuildExtensions