2014-03-25 84 views
2

試圖構建包含在DragonMobileSDK_1.4.9下載中的演示應用程序,我從libSpeechKit.a-x86_64-master.o中獲得了62個未定義的符號,所有的前綴都是前綴_nmsp_vector_。使用Xcode 5.1。Nuance Vocalizer演示應用程序無法構建64位模擬器設備

該應用程序編譯好的非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) 
+0

有沒有想過? – d456

+0

當我在項目的構建設置中將體系結構設置更改爲'$(ARCHS_STANDARD_32_BIT)'時,構建礦井。有點擔心這個64位的截止日期即將到來。 https://developer.apple.com/news/?id=10202014a – d456

+0

SDK中的錯誤我猜 「版本1.4.12(09/11/2014) 更新以解決針對ARM64和XCode 6編譯的問題 更新修復了與模擬器的arm64兼容性相關的問題,以及當鈴聲靜音時TTS音頻無法播放的錯誤。「 http://dragonmobile.nuancemobiledeveloper.com/public/index.php?task=relNotes – d456

回答

0

你得只剩下:ARMv7的armv7s i386的架構在架構和有效的架構手動項目/演示。

相關問題