3

While working with SFSpeechRecognizer I encounter this problem:

Printing description of error.some.instance_type: expression produced error: error: /var/folders/k8/ppsgsylx27b5061mkcw9c7n40000gn/T/./lldb/4446/expr7.swift:1:65: error: use of undeclared type 'Builtin' Swift._DebuggerSupport.stringForPrintObject(Swift.UnsafePointer(bitPattern: 0x101b94360)!.pointee)

What is 'Builtin' here? The error occurs in the following block.

recognitionTask = speechRecognizer?.recognitionTask(with: recognitionRequest, resultHandler: { (result, error) in ...}

Shall the real problem be?

[Client] {"msg":"Fence: onClientEventRegionState, invalid state", "regionState":"0"}

Here is the article that I followed. Any hint?

Nikolay Shmyrev
  • 24,897
  • 5
  • 43
  • 87
Tim
  • 606
  • 1
  • 8
  • 19
  • 1
    refer this, https://www.appcoda.com/siri-speech-framework/. Its working good for me. @linhcn – KAR Oct 05 '16 at 05:33
  • 1
    I already checked that out too. The two tutorials are actually the same. It works for the 1st time. The error raised when I switch between view controllers, stop the `audioEngine` and start again. – Tim Oct 05 '16 at 06:19
  • I get the same error when I try printing a description of a dict item. At least in my case, this is completely unrelated to SFSpeechRecognitionTask – davis Jun 09 '17 at 10:46

0 Answers0