ios – 构建armv7的未定义符号,同时集成了细微龙手机的语言包

前端之家收集整理的这篇文章主要介绍了ios – 构建armv7的未定义符号,同时集成了细微龙手机的语言包前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我整合我的应用程序与无辜龙手机的语言包运行我在下面错误
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)

请建议我整理这个错误

解决方法

看来你没有将CFNetwork.Framework,SystemConfiguration.Framework和Security.Framework添加到你的项目中.将它们添加到Xcode中的“库链接”部分,一切都应该是正常的.

猜你在找的iOS相关文章