From ccf2ea3f907dca768f08531a43985eecda760a3f Mon Sep 17 00:00:00 2001 From: Rocky Date: Thu, 18 Jun 2026 11:55:23 +0800 Subject: [PATCH] [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 --- OSGKeyboardExt/Info.plist | 6 ++++-- project.yml | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/OSGKeyboardExt/Info.plist b/OSGKeyboardExt/Info.plist index debd8f3..0374298 100644 --- a/OSGKeyboardExt/Info.plist +++ b/OSGKeyboardExt/Info.plist @@ -20,8 +20,6 @@ $(MARKETING_VERSION) CFBundleVersion $(CURRENT_PROJECT_VERSION) - NSSpeechRecognitionUsageDescription - OSGKeyboard uses on-device speech recognition to transcribe your dictation. Audio never leaves your device. NSExtension NSExtensionAttributes @@ -40,5 +38,9 @@ NSExtensionPrincipalClass $(PRODUCT_MODULE_NAME).KeyboardViewController + 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. diff --git a/project.yml b/project.yml index b5e7284..a185429 100644 --- a/project.yml +++ b/project.yml @@ -57,6 +57,7 @@ targets: UIApplicationSceneManifest: UIApplicationSupportsMultipleScenes: false 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: NSAllowsArbitraryLoads: false CFBundleURLTypes: @@ -96,6 +97,8 @@ targets: CFBundleDisplayName: OSGKeyboard CFBundleShortVersionString: "$(MARKETING_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: NSExtensionAttributes: IsASCIICapable: false