[JJC-20260618-005-C-1] Sync NSSpeechRecognitionUsageDescription into project.yml

- Add NSSpeechRecognitionUsageDescription to OSGKeyboard target
- Add NSMicrophoneUsageDescription + NSSpeechRecognitionUsageDescription to OSGKeyboardExt target
- Regenerated OSGKeyboardExt/Info.plist reflects project.yml (single source of truth)
- BUILD SUCCEEDED, 8/8 tests pass
This commit is contained in:
2026-06-18 11:55:23 +08:00
parent 9fa64223af
commit ccf2ea3f90
2 changed files with 7 additions and 2 deletions
+4 -2
View File
@@ -20,8 +20,6 @@
<string>$(MARKETING_VERSION)</string> <string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string> <string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>OSGKeyboard uses on-device speech recognition to transcribe your dictation. Audio never leaves your device.</string>
<key>NSExtension</key> <key>NSExtension</key>
<dict> <dict>
<key>NSExtensionAttributes</key> <key>NSExtensionAttributes</key>
@@ -40,5 +38,9 @@
<key>NSExtensionPrincipalClass</key> <key>NSExtensionPrincipalClass</key>
<string>$(PRODUCT_MODULE_NAME).KeyboardViewController</string> <string>$(PRODUCT_MODULE_NAME).KeyboardViewController</string>
</dict> </dict>
<key>NSMicrophoneUsageDescription</key>
<string>OSGKeyboard needs microphone access to transcribe your voice into text.</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>OSGKeyboard uses on-device speech recognition to transcribe your dictation. Audio never leaves your device.</string>
</dict> </dict>
</plist> </plist>
+3
View File
@@ -57,6 +57,7 @@ targets:
UIApplicationSceneManifest: UIApplicationSceneManifest:
UIApplicationSupportsMultipleScenes: false UIApplicationSupportsMultipleScenes: false
NSMicrophoneUsageDescription: "OSGKeyboard needs microphone access to transcribe your voice into text." NSMicrophoneUsageDescription: "OSGKeyboard needs microphone access to transcribe your voice into text."
NSSpeechRecognitionUsageDescription: "OSGKeyboard uses on-device speech recognition to transcribe your dictation. Audio never leaves your device."
NSAppTransportSecurity: NSAppTransportSecurity:
NSAllowsArbitraryLoads: false NSAllowsArbitraryLoads: false
CFBundleURLTypes: CFBundleURLTypes:
@@ -96,6 +97,8 @@ targets:
CFBundleDisplayName: OSGKeyboard CFBundleDisplayName: OSGKeyboard
CFBundleShortVersionString: "$(MARKETING_VERSION)" CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)" CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
NSMicrophoneUsageDescription: "OSGKeyboard needs microphone access to transcribe your voice into text."
NSSpeechRecognitionUsageDescription: "OSGKeyboard uses on-device speech recognition to transcribe your dictation. Audio never leaves your device."
NSExtension: NSExtension:
NSExtensionAttributes: NSExtensionAttributes:
IsASCIICapable: false IsASCIICapable: false