gpt4 book ai didi

ios - 集成 Nuance Dragon Mobile 时架构 x86_64 的 undefined symbol

转载 作者:行者123 更新时间:2023-11-29 03:08:01 24 4
gpt4 key购买 nike

我正在 XCode 中开发一个 iOS 应用程序,并尝试集成 Nuance 移动 SDK。我已经让他们的示例应用程序正常运行,现在正尝试将其添加到我现有的应用程序中。当我这样做时,我遇到了以下错误。我已经看过类似的 Undefined symbols for architecture armv7 while integrating speechkit of nuance dragon mobile ,但遵循答案(确保已添加 CFNetwork 和安全框架)并没有解决我的问题。正如您将看到的, undefined symbol (nmsp) 的前缀似乎与任何已知的“核心”库都不匹配。

根据符号名称,在我看来 XCode 缺少一些 Nuance 代码,但我不知 Prop 体是什么。我已经包括了 Nuance SpeechKit 框架,这是我所知道的唯一可以从 Nuance 添加的东西。

Undefined symbols for architecture x86_64:
"_nmsp_audio_player_create", referenced from:
l093 in SpeechKit(libSpeechKit.a-x86_64-master.o)
"_nmsp_audio_player_delete", referenced from:
l017 in SpeechKit(libSpeechKit.a-x86_64-master.o)
"_nmsp_audio_player_getAudioSink", referenced from:
l027 in SpeechKit(libSpeechKit.a-x86_64-master.o)
"_nmsp_audio_player_start", referenced from:
l027 in SpeechKit(libSpeechKit.a-x86_64-master.o)
"_nmsp_audio_player_stop", referenced from:
l038 in SpeechKit(libSpeechKit.a-x86_64-master.o)
"_nmsp_audio_recorder_create", referenced from:
l092 in SpeechKit(libSpeechKit.a-x86_64-master.o)
"_nmsp_audio_recorder_delete", referenced from:
l076 in SpeechKit(libSpeechKit.a-x86_64-master.o)
l080 in SpeechKit(libSpeechKit.a-x86_64-master.o)
"_nmsp_audio_recorder_reinitialize", referenced from:
l028 in SpeechKit(libSpeechKit.a-x86_64-master.o)
"_nmsp_audio_recorder_start", referenced from:
l028 in SpeechKit(libSpeechKit.a-x86_64-master.o)
l053 in SpeechKit(libSpeechKit.a-x86_64-master.o)
"_nmsp_audio_recorder_stop", referenced from:
l037 in SpeechKit(libSpeechKit.a-x86_64-master.o)
l040 in SpeechKit(libSpeechKit.a-x86_64-master.o)
l045 in SpeechKit(libSpeechKit.a-x86_64-master.o)
"_nmsp_dr_dictation_result_create", referenced from:
l035 in SpeechKit(libSpeechKit.a-x86_64-master.o)
"_nmsp_dr_dictation_result_delete", referenced from:
l035 in SpeechKit(libSpeechKit.a-x86_64-master.o)
"_nmsp_dr_dictation_result_getSentence", referenced from:
l035 in SpeechKit(libSpeechKit.a-x86_64-master.o)

最佳答案

在 Nuance Mobile SDK 网站上有一个关于使用 SpeechKit 的页面,其中包含更多信息: Using Speech Kit

特别是:

Speech Kit 框架依赖于一些核心 iPhone 操作系统框架,您必须将这些框架作为依赖项包含在您的应用程序中,以便它们在运行时可用。除了 Foundation 之外,您还必须将 System Configuration、Audio Toolbox、CFNetwork、AVFoundation 和 Security 框架添加到您的 Xcode 项目中:

Required dependent frameworks

关于ios - 集成 Nuance Dragon Mobile 时架构 x86_64 的 undefined symbol ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22550505/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com