NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore
http://docs.nativescript.org/runtimes/ios
Apache License 2.0
298 stars 59 forks source link

Problem with MicrosoftCognitiveServicesSpeech #1259

Closed jibon57 closed 4 years ago

jibon57 commented 4 years ago

✔ Getting NativeScript components versions information... ⚠ Update available for component nativescript. Your current version is 6.4.0 and the latest available version is 6.4.1. ✔ Component tns-core-modules has 6.4.2 version and is up to date. ✖ Component tns-android is not installed. ✔ Component tns-ios has 6.4.2 version and is up to date.

I am trying to implement MicrosoftCognitiveServicesSpeech in NativeScript. When I am trying to add SPXPhraseListGrammar that time app got crashed.

From metadata-generation-stderr-x86_64.txt I can see following error message:

MicrosoftCognitiveServicesSpeech.framework/Headers/SPXPhraseListGrammar.h:16:35: error: cannot find interface declaration for 'SPXGrammar', superclass of 'SPXPhraseListGrammar'
@interface SPXPhraseListGrammar : SPXGrammar
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^

To Reproduce Please check attached project.

Sample project Archive.zip