cocos2d-x添加-ObjC出错

cocos2d-x新建项目设置 Other Linker Flags 为 -ObjC -all_load, 设置Compile Sources As 为Objective-C++之后出现了下面的错误,怎么设置求解啊!