错误提示
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lex failed with exit code 1
clang: error: invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
解决方法:
将Apple LLVM compiler 4.1 - Language ->c++ Standard Library 修改为 libstdc++ (GNU C++ standard library)