Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译不通过,Build Failed!4个错误,都在OSSSpeech.swift里。 #4

Open
HoodL opened this issue Jul 17, 2023 · 1 comment

Comments

@HoodL
Copy link

HoodL commented Jul 17, 2023

OSSSpeech.swift里编译报错了,4个错误。其中546行: if let speechRecognizer, !speechRecognizer.isAvailable {
报错:Variable binding in a condition requires an initializer
511行: input.installTap(onBus: bus, bufferSize: 8192, format: recordingFormat) { [weak self] (buffer, ) -> Void in
报错:Unable to infer type of a closure parameter '
' in the current context、Unable to infer type of a closure parameter 'buffer' in the current context

@HoodL HoodL changed the title Pods里报错了,4个错误:Property 'localPath' not found on object of type 'AVFile *' 编译不通过,Build Failed!4个错误,都在OSSSpeech.swift里。 Jul 19, 2023
@crazypoo
Copy link
Owner

可能你的xcode版本太低了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants