AVSpeechSynthesizer errors in iOS 10
问题 I'm currently creating a text-to-speech app using AVSpeechSynthesizer() . It's working fine in iOS 9 but has the following error in iOS 10: Could not get attribute 'LocalURL': Error Domain=MobileAssetError Code=1 "Unable to copy asset attributes" UserInfo={NSDescription=Unable to copy asset attributes} Does anyone know what's going on here? static let speechSynthesizer = AVSpeechSynthesizer() static func speak(text: String) { if speechSynthesizer.isSpeaking { speechSynthesizer