From c63dca53ce49d05f2edd8bf7d47b3f3120b30238 Mon Sep 17 00:00:00 2001 From: Martin Mitrevski Date: Wed, 22 Jan 2025 12:59:11 +0100 Subject: [PATCH 1/2] Fix build issue on Xcode 15 --- DemoAppSwiftUI/ChannelHeader/NewChatView.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/DemoAppSwiftUI/ChannelHeader/NewChatView.swift b/DemoAppSwiftUI/ChannelHeader/NewChatView.swift index 4256a21aa..821e3f36e 100644 --- a/DemoAppSwiftUI/ChannelHeader/NewChatView.swift +++ b/DemoAppSwiftUI/ChannelHeader/NewChatView.swift @@ -108,9 +108,7 @@ struct NewChatView: View, KeyboardReadable { struct TabBarVisibilityModifier: ViewModifier { func body(content: Content) -> some View { - if #available(iOS 18, *) { - content.toolbarVisibility(.hidden, for: .bottomBar) - } else if #available(iOS 16.0, *) { + if #available(iOS 16.0, *) { content.toolbar(.hidden, for: .bottomBar) } else { content From 0f0da4e2510a7bcd483b7b7f09818fea6b6ca5c2 Mon Sep 17 00:00:00 2001 From: Martin Mitrevski Date: Wed, 22 Jan 2025 13:09:36 +0100 Subject: [PATCH 2/2] Updated StreamChat dependency --- StreamChatSwiftUI.xcodeproj/project.pbxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/StreamChatSwiftUI.xcodeproj/project.pbxproj b/StreamChatSwiftUI.xcodeproj/project.pbxproj index 3fa80a29a..d2220212d 100644 --- a/StreamChatSwiftUI.xcodeproj/project.pbxproj +++ b/StreamChatSwiftUI.xcodeproj/project.pbxproj @@ -3843,8 +3843,8 @@ isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/GetStream/stream-chat-swift.git"; requirement = { - branch = develop; - kind = branch; + kind = upToNextMajorVersion; + minimumVersion = 4.70.0; }; }; E3A1C01A282BAC66002D1E26 /* XCRemoteSwiftPackageReference "sentry-cocoa" */ = {