我将我的应用程序集成到naunce dragon手机的speechkit中,当我运行时,我在error下面:
Undefined symbols for architecture armv7:
"_kCFStreamPropertySSLPeerCertificates", referenced from:
l469 in SpeechKit(libSpeechKit.a-armv7-master.o)
l642 in SpeechKit(libSpeechKit.a-armv7-master.o)
l643 in SpeechKit(libSpeechKit.a-armv7-master.o)
"_kCFStreamSSLValidatesCertificateChain", referenced from:
l469 in SpeechKit(libSpeechKit.a-armv7-master.o)
"_kCFStreamSSLAllowsAnyRoot", referenced from:
l469 in SpeechKit(libSpeechKit.a-armv7-master.o)
"_OBJC_CLASS_$_AVAudioPlayer", referenced from:
objc-class-ref in SpeechKit(libSpeechKit.a-armv7-master.o)
"_kCFStreamSSLPeerName", referenced from:
l469 in SpeechKit(libSpeechKit.a-armv7-master.o)
"_kCFStreamSSLAllowsExpiredRoots", referenced from:
l469 in SpeechKit(libSpeechKit.a-armv7-master.o)
"_kCFStreamSSLAllowsExpiredCertificates", referenced from:
l469 in SpeechKit(libSpeechKit.a-armv7-master.o)
"_SecCertificateCopySubjectSummary", referenced from:
l642 in SpeechKit(libSpeechKit.a-armv7-master.o)
"_SecCertificateCopyData", referenced from:
l643 in SpeechKit(libSpeechKit.a-armv7-master.o)
"_kCFStreamPropertySSLSettings", referenced from:
l469 in SpeechKit(libSpeechKit.a-armv7-master.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)请建议我整理这个错误
发布于 2012-07-15 22:16:23
您似乎还没有将CFNetwork.Framework、SystemConfiguration.Framework和Security.Framework添加到您的项目中。
发布于 2012-10-19 01:26:29
抱歉,回复晚了。我刚刚自己解决了这个问题。
H2C03很接近,但实际上您需要的是CFNetwork.Framework和Security.framework。
不幸的是,Dragon文档中的Speech Kit基础演练只显示您需要UIKit.framework、Foundation.framework、CoreGraphics.framework、AudioToolbox.framework、SystemConfiguration.framework和SpeechKit.framework。这有点误导。
如果您打开DragonMobileRecognizer示例项目,您可以将它使用的框架与您的框架进行比较,看看您缺少什么。

https://stackoverflow.com/questions/11492600
复制相似问题