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

时间:2014-03-25 19:05:19

标签: ios xcode ios7 ios-simulator

尝试构建DragonMobileSDK_1.4.9下载中包含的演示应用程序,我得到了从libSpeechKit.a-x86_64-master.o引用的62个未定义符号,所有符号都以_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)

1 个答案:

答案 0 :(得分:0)

您必须只留下:armv7 armv7s i386架构,用于手动构建和有效架构中的项目/演示。