I'm executing below code for text-to-speech project on device, but getting error "Building MacinTalk voice for asset: (null)" Please any help on how I can fix or any tips what's going wrong.
AVSpeechSynthesizer *synthesizer = [[AVSpeechSynthesizer alloc]init];
AVSpeechUtterance *utterance = [AVSpeechUtterance speechUtteranceWithString:@"Tips For Silicon Valley From A Startup Accelerator In Gaza"];
[utterance setRate:0.015f];
utterance.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"en-GB"];
[synthesizer speakUtterance:utterance];