2011-07-20 157 views
1

嗨我得到以下錯誤ld:庫找不到-lSystem.B,我不知道該怎麼做來解決這個問題。我嘗試了其他的StackOverflow消息步驟,看看是否解決了它,但我仍然得到它,實際上做了一些其他更改給了我另一個錯誤或兩個與此一起。任何幫助將非常感激。xcode 4錯誤:ld:庫找不到-lSystem.B

編輯:

ld: warning: directory not found for option '-L/Users/MACOXIRIS/Documents/xCode Projects/barupay 1.3/Libraries/RestKit/Build/Debug-iphonesimulator' 
ld: warning: directory not found for option '-L/Users/MACOXIRIS/Documents/xCode' 
ld: warning: directory not found for option '-LProjects/barupay' 
ld: warning: directory not found for option '-L1.3/Libraries/Build/Debug-iphonesimulator' 
ld: library not found for -lSystem.B 
collect2: ld returned 1 exit status 
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1 

+0

有沒有人有任何想法我可以解決這個問題? – Benjamin

+0

你有沒有想過這個? –

+0

不,我不知道這個 – Benjamin

回答

0

你可能已經解決了該問題很久以前的事,但誰絆倒在這個問題上,可以看看我的回答here。快樂黑客!

+0

感謝您指出一個解決方案:) – Benjamin

0

我對GCC有這個問題。它是在我用Xcode-beta.app替換Xcode.app後發生的。

運行:

gcc -print-search-dirs 

,你會看到它看起來默認庫。移動目錄或創建符號鏈接以使它們可用(另一個選項是重新編譯gcc)。