swift-sdk icon indicating copy to clipboard operation
swift-sdk copied to clipboard

Trailing closure passed to parameter of type 'RecognizeCallback' that does not accept a closure, speech to text using microphone example

Open snips11 opened this issue 3 years ago • 0 comments

Overview Unable to run speech to text using microphone example (https://watson-developer-cloud.github.io/swift-sdk/services/SpeechToTextV1/index.html#recognizing-audio-from-microphone)

Expected behavior Speech to text builds and runs

Actual behavior Trailing closure passed to parameter of type 'RecognizeCallback' that does not accept a closure

How to reproduce I am working with a fresh Swift UI project with only this pod installed. I have dropped the code in plus my credentials

Screenshots Screenshot 2022-03-28 at 01 04 59

SDK Version 5.0.0

snips11 avatar Mar 28 '22 00:03 snips11