Undefined symbols for architecture armv7 while integrating speechkit of nuance dragon mobile

前端 未结 2 881
北海茫月
北海茫月 2020-12-19 03:00

I integrating my app with speechkit of naunce dragon mobile when run i am below error:

Undefined symbols for architecture armv7:
  \"_kCFStreamPropertySSLPee         


        
相关标签:
2条回答
  • 2020-12-19 03:13

    Sorry for the late reply. I just solved this issue myself.

    H2C03 is close, but it's actually CFNetwork.Framework and Security.framework that you need.

    It's unfortunate the Speech Kit Basics walkthrough in the Dragon docs only shows that you need UIKit.framework, Foundation.framework, CoreGraphics.framework, AudioToolbox.framework, SystemConfiguration.framework, and SpeechKit.framework. It's a little misleading.

    If you open up the DragonMobileRecognizer sample project you can compare the frameworks it uses to yours and see what you're missing.

    DragonMobileRecognizer Sample Project Frameworks

    0 讨论(0)
  • 2020-12-19 03:22

    It seems you haven't added CFNetwork.Framework, SystemConfiguration.Framework and Security.Framework to your project. Add them in Xcode at the "libraries to link" section, and everything should be fine.

    0 讨论(0)
提交回复
热议问题