Microsoft Bing Speech API을 SpeechRecognitionService
과 Swift 애플리케이션에 통합하려고합니다. 불행하게도 Microsoft SDK는 Objective-C atm 만 지원하므로 SpeechSDK.framework
을 가져온 후에 Bridging Header에 #import "SpeechRecognitionService.h"
을 추가하면 해결되지만 file not found
오류가 발생합니다.Microsoft인지 SpeechSDK 프레임 워크를 Swift 앱에 통합
내가 뭘 잘못하고 있니?
편집 :
내가 전에 필요한 클래스에 직접 import SpeechSDK
프레임 워크를 시도했지만 그것은 작동하지 않았다.
필자는 여전히 프레임 워크를 가져 오기 위해 브리지 헤더를 사용하고 있습니다. #import "SpeechRecognitionService.h"
가 작동하지 않지만 다음과 같이 약간의 변경이 필요합니다.
#import "SpeechSDK/SpeechRecognitionService.h"
가능한 중복 (http://stackoverflow.com/questions/34046676/file-not-found-in -bridgeing-header-import-objective-c-frameworks-into-s) –