显示按照该链接进行操作:http://www.cocoachina.com/applenews/devnews/2013/0104/5462.html,然后
1、遇到无法找到文件的错误,更改AppDelegate.m为AppDelegate.mm解决;
2、编译出现更多错误,然后寻找原因:Project->Target->Build Settings->Apple LLVM compliler 4.3 - Language下C++ Language Dialect和C++ Standard Library为Compiler Default