Instruments reporting memory leak whenever AVSpeechSynthesizer is used to read text
问题 Everytime I use AVSpeechSynthesizer to speak text Instruments reports a memory leak in the AXSpeechImplementation library. Here's the code I'm using to make the call: AVSpeechUtterance *speak = [AVSpeechUtterance speechUtteranceWithString:text]; speak.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"en-US"]; speak.rate = AVSpeechUtteranceMaximumSpeechRate * .2; [m_speechSynth speakUtterance:speak]; Here's the link to the Instruments screenshot http://imageshack.com/a/img690/7993/b9w5.png