I'm trying to integrate Microsoft Bing Speech API with SpeechRecognitionService
into my Swift application. Unfortunately, the Microsoft SDK only supports Objective-C atm, so I get around by adding #import "SpeechRecognitionService.h"
to the Bridging Header after importing the SpeechSDK.framework
, but I got the file not found
error.
What am I doing wrong?
EDIT:
I did try import SpeechSDK
framework directly into the needed class before but it was not working.
In my case, I'm still using the Bridging Header in order to import the framework. #import "SpeechRecognitionService.h"
didn't work but a slight change as below works for me.
#import "SpeechSDK/SpeechRecognitionService.h"