Symboles indéfinis pour l'architecture armv7 tout en intégrant speechkit de nuance dragon mobile

J'intègre mon application avec le kit vocal de naunce dragon mobile lors de l'exécution, je suis en dessous de l'erreur:

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) 

S'il vous plaît me suggérer de sortinger cette erreur

Il semble que vous n'avez pas ajouté CFNetwork.Framework , SystemConfiguration.Framework et Security.Framework à votre projet. Ajoutez-les dans Xcode dans la section "Bibliothèques à lier", et tout devrait bien se passer.

Désolé pour la réponse tardive. Je viens de résoudre ce problème moi-même.

H2C03 est proche, mais c'est CFNetwork.Framework et Security.framework dont vous avez besoin.

Il est regrettable que la procédure pas à pas de Speech Kit Basics dans les documents Dragon montre seulement que vous avez besoin de UIKit.framework, Foundation.framework, CoreGraphics.framework, AudioToolbox.framework, SystemConfiguration.framework, et SpeechKit.framework. C'est un peu trompeur.

Si vous ouvrez le projet exemple DragonMobileRecognizer, vous pouvez comparer les frameworks qu'il utilise avec les vôtres et voir ce qui vous manque.

Exemples de cadres de projet DragonMobileRecognizer