gpt4 book ai didi

ios - Nuance Vocalizer 演示应用程序无法为 64 位模拟器设备构建

转载 作者:行者123 更新时间:2023-12-01 16:42:54 25 4
gpt4 key购买 nike

尝试构建包含在 DragonMobileSDK_1.4.9 下载中的演示应用程序,我从 libSpeechKit.a-x86_64-master.o 中获得了 62 个 undefined symbol ,所有符号都以 _nmsp_vector_ 为前缀。使用 Xcode 5.1。

该应用程序可以为非 64 位模拟器设备编译。当我搜索答案时,我看到了类似的帖子,但它们是用户应用程序中的问题,通过链接与演示应用程序相同的库来解决。在这种情况下,失败的是演示应用程序本身。

构建输出如下所示:

        Ld /Users/user13/Library/Developer/Xcode/DerivedData/DMVocalizer-gighyiitifpefcfcyeoylguzztkm/Build/    Products/Debug-iphonesimulator/Vocalizer.app/Vocalizer normal x86_64
cd /Users/user13/Developer/DragonMobileSDK_1.4.9/DragonMobileVocalizer
export IPHONEOS_DEPLOYMENT_TARGET=7.1
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/user13/Library/Developer/Xcode/DerivedData/DMVocalizer-gighyiitifpefcfcyeoylguzztkm/Build/Products/Debug-iphonesimulator -F/Users/user13/Library/Developer/Xcode/DerivedData/DMVocalizer-gighyiitifpefcfcyeoylguzztkm/Build/Products/Debug-iphonesimulator -F/Users/user13/Developer/DragonMobileSDK_1.4.9/DragonMobileVocalizer -filelist /Users/user13/Library/Developer/Xcode/DerivedData/DMVocalizer-gighyiitifpefcfcyeoylguzztkm/Build/Intermediates/DMVocalizer.build/Debug-iphonesimulator/DMVocalizer.build/Objects-normal/x86_64/Vocalizer.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -framework SpeechKit -framework Foundation -framework UIKit -framework CoreGraphics -framework AudioToolbox -framework SystemConfiguration -framework AVFoundation -framework CFNetwork -framework Security -Xlinker -dependency_info -Xlinker /Users/user13/Library/Developer/Xcode/DerivedData/DMVocalizer-gighyiitifpefcfcyeoylguzztkm/Build/Intermediates/DMVocalizer.build/Debug-iphonesimulator/DMVocalizer.build/Objects-normal/x86_64/Vocalizer_dependency_info.dat -o /Users/user13/Library/Developer/Xcode/DerivedData/DMVocalizer-gighyiitifpefcfcyeoylguzztkm/Build/Products/Debug-iphonesimulator/Vocalizer.app/Vocalizer

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

l069 in SpeechKit(libSpeechKit.a-x86_64-master.o)
l112 in SpeechKit(libSpeechKit.a-x86_64-master.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

最佳答案

你只需要离开:armv7 armv7s i386 architectures for your project/demo in Architectures and Valid Architectures 手动。

关于ios - Nuance Vocalizer 演示应用程序无法为 64 位模拟器设备构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22644033/

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