AVSpeechSynthesisVoice crash in iOS17.0.3 system

  • (nullable AVSpeechSynthesisVoice *)voiceWithLanguage:(nullable NSString *)languageCode;

This method generates a crash in iOS17.0.3 system.

Can you show your code?

[AVSpeechSynthesisVoice voiceWithLanguage:@"zh-CN"];

AVSpeechSynthesisVoice crash in iOS17.0.3 system
 
 
Q