MauiVocalizer: 16038 (Resource load failed)

Hi!

Just created a new empty project with just a AVSpeechSynthesizer var and when I try to play a tts string in app console I see:

Query for com.apple.MobileAsset.VoiceServices.VoiceResources failed: 2 Unable to list voice folder [AXTTSCommon] MauiVocalizer: 11006 (Can't compile rule): regularExpression=\Oviedo(?=, (\x1b\pause=\d+\)?Florida)\b, message=unrecognized character follows , characterPosition=1 [AXTTSCommon] MauiVocalizer: 16038 (Resource load failed): component=ttt/re, uri=, contentType=application/x-vocalizer-rettt+text, lhError=88602000

Tested with Xcode Version 14.0.1 (14A400) on iPhone 14 Pro device ( iOS 16.0.3 ).

More, in case Address Sanitizer is active app crashes:

ERROR: AddressSanitizer: heap-buffer-overflow on address 0x000103e5ae75 at pc 0x000100ada758 bp 0x00016ff6e030 sp 0x00016ff6d7e8

READ of size 3062 at 0x000103e5ae75 thread T11

#0 0x100ada754 in wrap_strlen+0x164 (/private/var/containers/Bundle/Application/F72885E1-54FA-4FB9-B32E-320C8A8770A2/TestTTS.app/Frameworks/libclang_rt.asan_ios_dynamic.dylib:arm64e+0x16754)

 #1 0x235339d78 in IsThisUrlOrRealPath+0x30 (/System/Library/PrivateFrameworks/TextToSpeechMauiSupport.framework/TextToSpeechMauiSupport:arm64e+0x2fd78)

#2 0x235775994 in ve_ttsResourceLoad+0x16c (/System/Library/PrivateFrameworks/TextToSpeechMauiSupport.framework/TextToSpeechMauiSupport:arm64e+0x46b994)

Text demo

Having this same error message generated on my iOS 16.0.2. No effect on the app but don't know what caused this. I ensured the spoken content is on and the voices are downloaded.

Same problem here on my iPhone 14 Pro running iOS 16.4.1. App built with Xcode 14.1. Does speech synthesis no longer work?

Error:

2023-04-13 20:54:46.115465-0400 Boswell[18755:3961616] [AXTTSCommon] MauiVocalizer: 16038 (Resource load failed): component=ttt/re, uri=, contentType=application/x-vocalizer-rettt+text, lhError=88602000

Hi, did you ever solve this issue, I am getting the same issue now, on a physical device: [AXTTSCommon] MauiVocalizer: 11006 (Can't compile rule): regularExpression=\Oviedo(?=, (\x1b\pause=\d+\)?Florida)\b, message=unrecognized character follows , characterPosition=1

Thank you in advance

MauiVocalizer: 16038 (Resource load failed)
 
 
Q