about "OpenGL ES 2.O is required"

about "OpenGL ES 2.O is required"
0.0 0


First,i’m quite new for cocos2d-x.Yesterday i updated my xcode & cocos2d-x,then a boring error began to appear.
PS:i tried to update and reinstall all things.they didn’t help. The same error also appears when i use cocos2d-iphone。

  • cocos2d-x,iphone 6.1 simulator
  • 2013-04-17 22:27:51.118 HelloWorld[1247:12203] cocos2d: deallocing <CCES2Renderer = 07D97FF0 | size = 0x0>
  • 2013-04-17 22:27:51.119 HelloWorld[1247:12203] * Assertion failure in -, /Users/Peacefrog/Cocoa/cocos2d/HelloWorld/HelloWorld/libs/cocos2dx/platform/ios/EAGLView.mm:223
    * 2013-04-17 22:27:51.120 HelloWorld[1247:12203]
    * Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘OpenGL ES 2.O is required.’
  • ***** First throw call stack:
    ** libc++abi.dylib: terminate called throwing an exception
  • (lldb)


OpenGL ES 2.0 is supported on iOS.
It is strange.


PS for my question:
These reports above just appear in Cocos2D-x template project “helloworld”.
I create a project using the default cocos2d-x template and do nothing else.


I got the same problem in Xcode 5.0 for cocos2d-x 3.0. But in my Xcode 4.6.3 for cocos2d-x 2.1.4, there is no problem. Any suggestions? Thanks