Post

Replies

Boosts

Views

Activity

Reply to SpeechAnalyzer speech to text wwdc sample app
Hi, I'm encountering an issue across recent Xcode 26 betas while working with speech recognition. In Xcode 26 Beta 1 & 2, I received the following errors: localeNotSupported could not record: invalidAudioDataType In Xcode 26 Beta 3, the issue has changed. I'm now getting this error: SpeechTranscriber cannot be initialized with an unsupported locale: en_US (fixed en_US). Please consult SpeechTranscriber.supportedLocales. SpeechAnalyzer: Input loop ending with error: Error Domain=SFSpeechErrorDomain Code=4 "SpeechTranscriber initialized with unsupported locale" UserInfo={NSLocalizedDescription=SpeechTranscriber initialized with unsupported locale} speech recognition failed. I am using "en_US" as the locale, which has always worked in previous versions. I’ve confirmed that the microphone permission is granted, and I’ve tested on a real device running iOS 26 Beta. Is there any new requirement or setting that needs to be enabled in Xcode 26 Beta or iOS 26 beta to allow the SpeechTranscriber to work with this locale? Do I need to configure anything in the device settings? Any help or guidance would be greatly appreciated. Thanks!
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’25