2015-04-22 118 views
0

當我存檔我的項目在模擬器和iPhone設備Xcode-庫沒有發現-lC++

ld: library not found for -lc++ 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

該項目的工作,但是當我歸檔項目,我得到這個錯誤我得到這個錯誤。誰能幫我? Thanx in adv。

+0

您是否嘗試過更一般的解決方案? http://stackoverflow.com/questions/24050012/error-library-not-found-for –

回答

0

應該只是將-lC++添加到項目設置中的鏈接器標誌,我曾想過。

將其添加到項目設置的「Build Settings」選項卡的「Linking」部分下的「Other Linker Flags」下。