2015-04-22 119 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”下。