PhoneGap +语音识别SDK
我正在开发一个使用HTML5和PhoneGap的多平台应用程序,并且我的应用程序应该包含语音识别。 Android版本完美运行,但我无法在iPhone上获得语音识别工作。
我编写了一个运行Objective-C代码的PhoneGap插件,并且我想使用Nuance Dragon SDK进行语音识别。 问题是我有很多问题:
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)
我还发现可以使用Google Chrome API,但它需要FLAC音频文件,并且iOS不支持。
任何人都可以在iOS上使用Nuance SDK或FLAC帮助我吗? 任何帮助将是有用的!
非常感谢。
感谢H2CO3,我找到了解决我的问题的办法。 我需要在我的项目中包含两个其他框架,Security.framework和CoreFoundation.framework。
现在,一切都好!
虽然找到了解决这个问题的办法,但我想提一下,在Github上查看NuanceDev是值得的。
有使用Nuance的NDEV Mobile SDKs构建的PhoneGap应用程序的参考实现
你有没有将这个Phonegap插件上传到任何地方,以便我们可以在我们的项目中使用它?
此外,这是唯一的Android还是它可以在iOS上使用?
链接地址: http://www.djcxy.com/p/34347.html