Anybody have error with 'display orientation'?

Anybody have error with 'display orientation'?
0.0 0


on cocos2dx-2.0.4 version, it looks having bug with display mode.

I’m create ios game project with cocos2dx-2.0.4 then it runs well.
(At this time, the project setting which device display mode is ‘Landscape’)

But when i change display mode to portrait from landscape, an error occurs.

it occurs on mygame/ios/main.m file
int retVal = UIApplicationMain(argc, argv, nil, @“AppController”); << here.

I don’t know how solve this problem.

Is there anyone that can test this problem and tell me how to solve?


i use osx 10.7 and xcode 4.5.1, cocos2dx 2.0.4