SFSpeechRecognizer crash on iOS 12
riseworld27 opened this issue · comments
riseworld27 commented
SpeakToMe sample worked well before iOS 12.
But I got crash from the users who use iOS 12. Here is crash message.
com.apple.coreaudio.avfaudio Reason: required condition is false: format.sampleRate == hwFormat.sampleRate
I guess there is problem in getting recording format in below line.
It seems it requires different recording format as per phone model in iOS 12.
Mykyta Bondarenko commented
Hi @risingworld777. Do you have this problem now?
Rolf Bjarne Kvinge commented
This works fine for me, I tried both the simulator and an iPhone X with iOS 12.2
I'm closing this for now. If this is still a problem, please attach the complete build log, and indicate exactly which device you ran this on.