首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >集成nuance dragon的speechkit时,架构armv7的符号未定义

集成nuance dragon的speechkit时,架构armv7的符号未定义
EN

Stack Overflow用户
提问于 2012-07-15 22:12:32
回答 2查看 8.7K关注 0票数 9

我将我的应用程序集成到naunce dragon手机的speechkit中,当我运行时,我在error下面:

代码语言:javascript
复制
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)

请建议我整理这个错误

EN

回答 2

Stack Overflow用户

发布于 2012-07-15 22:16:23

您似乎还没有将CFNetwork.FrameworkSystemConfiguration.FrameworkSecurity.Framework添加到您的项目中。

票数 48
EN

Stack Overflow用户

发布于 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示例项目,您可以将它使用的框架与您的框架进行比较,看看您缺少什么。

票数 6
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11492600

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档