Fix issues with new Share extension

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: eeb6547d3e
Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
Daniel D’Aquino
2024-11-18 11:39:39 -08:00
parent da76ad9b66
commit 38dc7b046a
2 changed files with 11 additions and 6 deletions

View File

@@ -7,12 +7,17 @@
<key>NSExtensionAttributes</key>
<dict>
<key>NSExtensionActivationRule</key>
<string>TRUEPREDICATE</string>
<dict>
<key>NSExtensionActivationSupportsMovieWithMaxCount</key>
<integer>3</integer>
<key>NSExtensionActivationSupportsImageWithMaxCount</key>
<integer>5</integer>
<key>NSExtensionActivationSupportsImage</key>
<true/>
<key>NSExtensionActivationSupportsWebURLWithMaxCount</key>
<integer>1</integer>
</dict>
</dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.share-services</string>
<key>NSExtensionPrincipalClass</key>

View File

@@ -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()