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,11 +7,16 @@
<key>NSExtensionAttributes</key> <key>NSExtensionAttributes</key>
<dict> <dict>
<key>NSExtensionActivationRule</key> <key>NSExtensionActivationRule</key>
<string>TRUEPREDICATE</string> <dict>
<key>NSExtensionActivationSupportsImage</key> <key>NSExtensionActivationSupportsMovieWithMaxCount</key>
<true/> <integer>3</integer>
<key>NSExtensionActivationSupportsWebURLWithMaxCount</key> <key>NSExtensionActivationSupportsImageWithMaxCount</key>
<integer>1</integer> <integer>5</integer>
<key>NSExtensionActivationSupportsImage</key>
<true/>
<key>NSExtensionActivationSupportsWebURLWithMaxCount</key>
<integer>1</integer>
</dict>
</dict> </dict>
<key>NSExtensionPointIdentifier</key> <key>NSExtensionPointIdentifier</key>
<string>com.apple.share-services</string> <string>com.apple.share-services</string>

View File

@@ -58,7 +58,7 @@ struct ShareExtensionView: View {
ProgressView() ProgressView()
case .no_content: case .no_content:
Group { 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) .font(.largeTitle)
.multilineTextAlignment(.center) .multilineTextAlignment(.center)
.padding() .padding()