Initializer of AVSpeechUtterance returns nil pointer

Originator:matthias.hochgatterer
Number:rdar://17299966 Date Originated:2014-06-13
Status:Duplicate Resolved:
Product:iOS 8 SDK Product Version:
Classification:Serious Bug Reproducible:Always
 
Summary:
[AVSpeechUtterance speechUtteranceWithString:@"Hello!"] returns nil

Steps to Reproduce:
Create a new utterance object by calling one of the initialisation methods (+speechUtteranceWithString: or -initWithString:)

Expected Results:
Pointer to an utterance object initialised with the passed string

Actual Results:
Pointer to nil

Version:
iOS 8 beta (Xcode 6 Build: 6A215l)

Comments

Duplicate of 18423837

By matthias.hochgatterer at Jan. 18, 2015, 10:58 a.m. (reply...)

Same for iOS8 GM & XCode 6.1b2 iOS SDK (same 8GM?) - app compiles fine, but speech did not work on simulator (with message: "Speech initialization error: 2147483665"). Same code did work properly on real device - iPhone 4s, iPhone 5s was ok.

This issue is resolved on the device using iOS beta 4.

On the simulator I get the following error "Speech initialization error: 2147483665"

By matthias.hochgatterer at July 28, 2014, 8:13 a.m. (reply...)

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!