Has anyone created a MonoTouch binding for the Nuance Dragon Mobile Speech SDK for iOS?

后端 未结 3 1518
情深已故
情深已故 2020-12-18 13:07

I have the Dragon Mobile SDK running nicely on Windows Phone 7 and I would like to get the equivalent functionality working for iOS. Since the SDK wraps the microphone, it\

3条回答
  •  青春惊慌失措
    2020-12-18 13:43

    Thanks again Anuj for your answer. I thought I'd leave a tip or two about how to do this. The binding library wasn't difficult to build (still tweaking it but it's not a difficult task).

    The more obscure part was figuring out how to get the SpeechKit framework linked. The samples only show how to link a .a or .dylib. After spending a little time with the ld(1) man page on OSX, it looks like the correct ld (and therefore gcc) arguments for linking with a framework are the following:

    -gcc_flags "-F -framework SpeechKit"
    

    You put this in a textbox in the project properties - under Build :: iPhone Build :: Additional mtouch arguments

    Note that -L doesn't work because this isn't a library; also note that -force_load and -ObjC referenced here don't appear necessary because, again, this is a framework and not a library.

提交回复
热议问题