SpeechAnalyzer speech to text wwdc sample app

I am using the sample app from: https://developer.apple.com/videos/play/wwdc2025/277/?time=763 I installed this on an Iphone 15 Pro with iOS 26 beta 1. I was able to get good transcription with it. The app did crash sometimes when transcribing and I was going to post here with the details. I then installed iOS beta 2 and uninstalled the sample app. Now every time I try to run the sample app on the 15 Pro I get this message: SpeechAnalyzer: Input loop ending with error: Error Domain=SFSpeechErrorDomain Code=10 "Cannot use modules with unallocated locales [en_US (fixed en_US)]" UserInfo={NSLocalizedDescription=Cannot use modules with unallocated locales [en_US (fixed en_US)]}

I can't continue our our work towards using SpeechAnalyzer now with this error.

I have set breakpoints on all the catch handlers and it doesn't catch this error. My phone region is "United States"

Is anyone else running into an issue with SpeechAnalyzer not releasing properly in iOS 26 Beta 4? You can test this with the speech to text sample app by create a story and recording some speech multiple times. On the third story I'm getting a "Maximum number of recognizers reached" error when trying to record.

I'm seeing this behavior in our own app too on the third attempt at using speech to text in the app.

Feedback filed for this: FB19003031

The locales in SpeechTranscriber.supportedLocales will work, but arbitrary locales such as Locale.current or Locale(identifier: "en_US") may not, because the exact equality of locales differ depending on how they were created.

Use SpeechTranscriber.supportedLocale(equivalentTo:) to get a locale in the supported list roughly equivalent to a locale obtained from elsewhere.

SpeechTranscriber.supportedLocales returns an empty array [] for me, on VisionOS 26.0 beta 6. This leads to the error SpeechTranscriber cannot be initialized with an unsupported locale: en_US (fixed en_US). Please consult SpeechTranscriber.supportedLocales. even if the locale is obtained using SpeechTranscriber.supportedLocale(equivalentTo:).

SpeechAnalyzer speech to text wwdc sample app
 
 
Q