PhoneGap + Speech Recognition SDK
I'm developing a multi-platform application using HTML5 and PhoneGap, and my application should include voice recognition. The Android version works perfectly, but I can't get the speech recognition work on iPhone.
I wrote a PhoneGap plugin which runs Objective-C code, and I want to use Nuance Dragon SDK for speech recognition. The problem is that I have a lot of issues :
Undefined symbols for architecture i386:
"_SecCertificateCopyData", referenced from:
l792 in SpeechKit(libSpeechKit.a-i386-master.o)
"_SecCertificateCopySubjectSummary", referenced from:
l791 in SpeechKit(libSpeechKit.a-i386-master.o)
"_SecItemAdd", referenced from:
l800 in SpeechKit(libSpeechKit.a-i386-master.o)
"_SecItemCopyMatching", referenced from:
l793 in SpeechKit(libSpeechKit.a-i386-master.o)
l799 in SpeechKit(libSpeechKit.a-i386-master.o)
l800 in SpeechKit(libSpeechKit.a-i386-master.o)
"_SecItemDelete", referenced from:
l797 in SpeechKit(libSpeechKit.a-i386-master.o)
"_SecItemUpdate", referenced from:
l800 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecAttrAccessGroup", referenced from:
l800 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecAttrAccount", referenced from:
l797 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecAttrDescription", referenced from:
l797 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecAttrGeneric", referenced from:
l793 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecAttrLabel", referenced from:
l797 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecClass", referenced from:
l793 in SpeechKit(libSpeechKit.a-i386-master.o)
l798 in SpeechKit(libSpeechKit.a-i386-master.o)
l799 in SpeechKit(libSpeechKit.a-i386-master.o)
l800 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecClassGenericPassword", referenced from:
l793 in SpeechKit(libSpeechKit.a-i386-master.o)
l798 in SpeechKit(libSpeechKit.a-i386-master.o)
l799 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecMatchLimit", referenced from:
l793 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecMatchLimitOne", referenced from:
l793 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecReturnAttributes", referenced from:
l793 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecReturnData", referenced from:
l799 in SpeechKit(libSpeechKit.a-i386-master.o)
"_kSecValueData", referenced from:
l784 in SpeechKit(libSpeechKit.a-i386-master.o)
l797 in SpeechKit(libSpeechKit.a-i386-master.o)
l798 in SpeechKit(libSpeechKit.a-i386-master.o)
l799 in SpeechKit(libSpeechKit.a-i386-master.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I also found that it was possible to use the Google Chrome API, but it needs a FLAC audio file, and it isn't supported by iOS.
Can anyone help me with either Nuance SDK or FLAC on iOS ? Any help would be useful !
Thanks a lot.
Thanks to H2CO3, I found the solution to my problem. I needed to include two other frameworks to my project, Security.framework and CoreFoundation.framework.
Now, everything is OK !
Whilst the solution was found for this particular problem, I'd like to mention that it's worth checking out NuanceDev on Github.
There are reference implementations of PhoneGap app's built using Nuance's NDEV Mobile SDKs for
Do you have this Phonegap plugin uploaded anywhere so we can use it as well in our projects?
Also is this only Android or would it work on iOS as well?
链接地址: http://www.djcxy.com/p/34348.html上一篇: Google语音识别库或API
下一篇: PhoneGap +语音识别SDK