看了http://www.myexception.cn/operating-system/1455966.html
通过了解xcode5.0报错的原因总结了如下:
以前xcode5.0的版本运行在xcode5.1上报的错误为Apple LLVM5.1 Error:xxxx
解决方案是:
1、在buildsetting --->Apple LLVM 5.1 -Language - C ++ ---->libstdc++(GNU C++ standard library)
或
2、选择TARGETS->Build Settings->Apple LLVM compiler 4.1 Language->Compile Source As 将According toFile Type改成Objective-c++即可