swift-sdk
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
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

SDK Version 5.0.0