iOS 10.0 Speech Recognition Error kAFAssistantErrorDomain
<p>I try using speech recognition as below </p>

<pre><code>    let urlpath = Bundle.main().pathForResource("myvoice2", ofType: "m4a")
    let url:URL = URL.init(fileURLWithPath: urlpath!)

    let recognizer = SFSpeechRecognizer()
    let request = SFSpeechURLRecognitionRequest(url: url)
    recognizer?.recognitionTask(with: request, resultHandler: { (result, error) in
        print (result?.bestTranscription.formattedString)

    })
</code></pre>

<p>The result is nil, I debug and see the error as below</p>

<p>
 <code>Error Domain=kAFAssistantErrorDomain Code=1101 "(null)"</code></p>

<p>Do you have any idea?</p>