From 8888bfe94038234de4728c37f2e7c5776b317d43 Mon Sep 17 00:00:00 2001 From: Toomas Vahter Date: Thu, 11 Jun 2026 12:34:06 +0300 Subject: [PATCH 1/2] Fix TestFlight DemoApp upload Declare iPad multitasking orientations in the demo app plist and unblock the Swift 6 demo build used to verify the processed bundle. --- DemoApp/FeedsView/Mentions/CommandsHandler.swift | 4 ++-- DemoApp/FeedsView/Mentions/TypingSuggester.swift | 2 +- DemoApp/Info.plist | 7 +++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/DemoApp/FeedsView/Mentions/CommandsHandler.swift b/DemoApp/FeedsView/Mentions/CommandsHandler.swift index e993e2f..fa3ca9a 100644 --- a/DemoApp/FeedsView/Mentions/CommandsHandler.swift +++ b/DemoApp/FeedsView/Mentions/CommandsHandler.swift @@ -87,7 +87,7 @@ extension CommandHandler { } /// Model for the composer's commands. -public struct ComposerCommand { +public struct ComposerCommand: Sendable { /// Identifier of the command. public let id: String /// Typing suggestion that invokes the command. @@ -124,7 +124,7 @@ public struct SuggestionInfo: @unchecked Sendable { } /// Display information about a command. -public struct CommandDisplayInfo { +public struct CommandDisplayInfo: @unchecked Sendable { public let displayName: String public let icon: UIImage public let format: String diff --git a/DemoApp/FeedsView/Mentions/TypingSuggester.swift b/DemoApp/FeedsView/Mentions/TypingSuggester.swift index cd4f1f7..cd90ce8 100644 --- a/DemoApp/FeedsView/Mentions/TypingSuggester.swift +++ b/DemoApp/FeedsView/Mentions/TypingSuggester.swift @@ -33,7 +33,7 @@ public struct TypingSuggestionOptions { } /// A structure that contains the information of the typing suggestion. -public struct TypingSuggestion { +public struct TypingSuggestion: Sendable { /// A String representing the currently typing text. public let text: String /// A NSRange that stores the location of the typing suggestion in relation with the whole input. diff --git a/DemoApp/Info.plist b/DemoApp/Info.plist index c6ef2ae..f6ac47f 100644 --- a/DemoApp/Info.plist +++ b/DemoApp/Info.plist @@ -59,5 +59,12 @@ UIInterfaceOrientationPortrait + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + From 97dd4ca687ced2b5bee1ec9134b0df14501f9186 Mon Sep 17 00:00:00 2001 From: Toomas Vahter Date: Thu, 11 Jun 2026 12:39:27 +0300 Subject: [PATCH 2/2] Use Sendable --- DemoApp/FeedsView/Mentions/CommandsHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DemoApp/FeedsView/Mentions/CommandsHandler.swift b/DemoApp/FeedsView/Mentions/CommandsHandler.swift index fa3ca9a..3e1fd40 100644 --- a/DemoApp/FeedsView/Mentions/CommandsHandler.swift +++ b/DemoApp/FeedsView/Mentions/CommandsHandler.swift @@ -124,7 +124,7 @@ public struct SuggestionInfo: @unchecked Sendable { } /// Display information about a command. -public struct CommandDisplayInfo: @unchecked Sendable { +public struct CommandDisplayInfo: Sendable { public let displayName: String public let icon: UIImage public let format: String