Skip to content

SPXKeywordRecognitionModel header missing in MicrosoftCognitiveServicesSpeech-iOS causes build failure #2831

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

Open
junlimstayge opened this issue May 19, 2025 · 0 comments

Comments

@junlimstayge
Copy link

Issue

Image

Image

When building on iOS, I encountered an "Expected a type" error, and upon investigation, I found that it was caused by the compiler not being able to find SPXKeywordRecognitionModel.

For resolving the issue,

After adding #import 'SPXKeywordRecognitionModel.h' to Pods/MicrosoftCognitiveServicesSpeech-iOS/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationRecognizer.h, the build succeeded.

Image

Is there any other solution to make the build work?

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

1 participant