2011-04-20 52 views
0

我提示以下錯誤:爲「蘋果的Mach-O連接器錯誤的Xcode」在設備中編譯時出錯?

Ld "/Users/admin/Library/Developer/Xcode/DerivedData/Voice_-flsfylxijlgswbbqkqwjspmgcska/Build/Intermediates/Voice .build/Debug-iphoneos/Voice .build/Objects-normal/armv6/Voice " normal armv6 
    cd "/Users/admin/Desktop/Voice " 
    setenv IPHONEOS_DEPLOYMENT_TARGET 4.0 
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" 
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -L/Users/admin/Library/Developer/Xcode/DerivedData/Voice_-flsfylxijlgswbbqkqwjspmgcska/Build/Products/Debug-iphoneos "-L/Users/admin/Desktop/Voice /../Common Files/src" -F/Users/admin/Library/Developer/Xcode/DerivedData/Voice_-flsfylxijlgswbbqkqwjspmgcska/Build/Products/Debug-iphoneos -filelist "/Users/admin/Library/Developer/Xcode/DerivedData/Voice_-flsfylxijlgswbbqkqwjspmgcska/Build/Intermediates/Voice .build/Debug-iphoneos/Voice .build/Objects-normal/armv6/Voice .LinkFileList" -dead_strip -miphoneos-version-min=4.0 -framework AudioUnit -framework OpenAL -framework AVFoundation -framework AudioToolbox -framework CoreAudio -framework Accelerate -framework UIKit -framework Foundation -framework CoreGraphics -lDIRAC_iOS4-fat -o "/Users/admin/Library/Developer/Xcode/DerivedData/Voice_-flsfylxijlgswbbqkqwjspmgcska/Build/Intermediates/Voice .build/Debug-iphoneos/Voice .build/Objects-normal/armv6/Voice " 

ld: warning: directory not found for option '-L/Users/admin/Desktop/Voice /../Common Files/src' 
ld: framework not found AudioUnit 
collect2: ld returned 1 exit status 
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 failed with exit code 1 

請幫助我,

我沒有得到任何解決方案,即使我添加了音頻單元框架,它會顯示同樣的錯誤。

馬丹磨憨

+1

它曾經工作過嗎?如果是這樣,你改變了什麼,停止了它的工作?如果它從未奏效,你想做什麼?錯誤信息是非常明顯的,所以更多的上下文將是有用的請。 – Roger 2011-04-20 13:41:26

回答

0

我想你應該添加音頻單元框架,打造「-L /用戶/管理員/桌面/語音/../Common文件/ src目錄」你在這個目錄在做什麼?

+0

即使我沒有解決這個問題。我正在努力通過音高改變錄製的音頻。 – 2011-04-20 14:39:18

1

你有沒有嘗試做一個乾淨的,然後再次設置你的框架?

+0

是的,甚至沒有工作。 – 2011-04-21 09:47:51

+0

這可能是因爲你包括同一個文件兩次或者你的班級以外的一個對象 – user250322 2012-03-17 22:08:43