voiceWithIdentifier crashes on iOS 9.3
| Originator: | axello | ||
| Number: | rdar://26410484 | Date Originated: | 22-05-2016 |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 9.3.1 |
| Classification: | Serious | Reproducible: | YES |
Summary: The new AVSpeechSynthesisVoice class should recognise the voiceWithIdentifier method. However, when I run it on either the 9.3.1 simulator or an iPad Air with 9.3.1, it crashes. Steps to Reproduce: 1) Write code which utilises the AVSpeechSynthesis engine. 2) Select a voice with voiceWithIdentifier 3) Crash Expected Results: A voice should be selected if the identifier corresponds to a real voice, e.g. "Moira", or should return nil otherwise. Actual Results: 2016-05-22 18:09:34.500 Image2talk[9845:4842262] +[AVSpeechSynthesisVoice voiceWithIdentifier:]: unrecognized selector sent to class 0x1002e2228 2016-05-22 18:09:34.508 Image2talk[9845:4842262] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[AVSpeechSynthesisVoice voiceWithIdentifier:]: unrecognized selector sent to class 0x1002e2228' Version: iOS 9.3.1 Notes: This app is used by disabled people, so it's a shame they cannot choose voices they like, but only can select voices by Locale. Configuration: Simulator 9.3.1, iPad Air with 9.3.1
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!