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

标签 ios xcode ios7 ios-simulator

尝试构建包含在 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/

相关文章:

iOS 滑出菜单导致应用程序崩溃。怎么修?

xcode - UISearchController 不更新

xcode - 使用iOS模拟器调试网络请求,网络请求数据未显示

ios7 - 在 SpriteKit 场景之间移动时如何释放内存

iphone - 为什么 Xcode 5 不允许我为 iPhone 应用程序指定 iPad 图像? iTunes Artwork 图标呢?

ios - 如何仅显示在 Objective C 的 TableView 中具有内容的表行

iphone - 向左箭头 - UINavigationItem

ios - Facebook 和 iOS 集成避免登录按钮的最佳实践

ios - 将 Ruby bundler gems 作为 Xcode 构建脚本运行

objective-c - UITableView 中的圆角 (iOS7)