From 38dc7b046ae2fabb8022a92a99d4608bff7e33dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=E2=80=99Aquino?= Date: Mon, 18 Nov 2024 11:39:39 -0800 Subject: [PATCH] Fix issues with new Share extension MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit fixes the following issues with the new Share extension: - Typo on user-facing label - Misconfigured Info.plist that caused the build to be rejected by AppStore Connect This extension was never shipped to users, so no changelog entry is needed. Changelog-None Fixes: eeb6547d3e626819def8f303b63c1fc42db1a322 Signed-off-by: Daniel D’Aquino --- share extension/Info.plist | 15 ++++++++++----- share extension/ShareViewController.swift | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/share extension/Info.plist b/share extension/Info.plist index 5f0abe03..369af6a9 100644 --- a/share extension/Info.plist +++ b/share extension/Info.plist @@ -7,11 +7,16 @@ NSExtensionAttributes NSExtensionActivationRule - TRUEPREDICATE - NSExtensionActivationSupportsImage - - NSExtensionActivationSupportsWebURLWithMaxCount - 1 + + NSExtensionActivationSupportsMovieWithMaxCount + 3 + NSExtensionActivationSupportsImageWithMaxCount + 5 + NSExtensionActivationSupportsImage + + NSExtensionActivationSupportsWebURLWithMaxCount + 1 + NSExtensionPointIdentifier com.apple.share-services diff --git a/share extension/ShareViewController.swift b/share extension/ShareViewController.swift index a2e91c54..140fc52e 100644 --- a/share extension/ShareViewController.swift +++ b/share extension/ShareViewController.swift @@ -58,7 +58,7 @@ struct ShareExtensionView: View { ProgressView() case .no_content: Group { - Text("No content availabe to share", comment: "Title indicating that there was no available content to share") + Text("No content available to share", comment: "Title indicating that there was no available content to share") .font(.largeTitle) .multilineTextAlignment(.center) .padding()