iOS15: SFSpeechRecognizer error kLSRErrorDomain code 201

Hi,

I use device-local speech recognition for speech input. Now some iOS 15 upgraded devices return the new error domain / code

kLSRErrorDomain, code 201

(previously the errors were mostly in kAFAssistantErrorDomain). Has anybody an idea what it means and how to fix it?

Thanks!

This error happens when General > Keyboard > Enable Dictation is switched off with defaultTaskHint property of SFSpeechRecognizer instance is .dictation. You can get rid of this error by changing this property to .unspecified.

Thanks a lot!

iOS15: SFSpeechRecognizer error kLSRErrorDomain code 201
 
 
Q