The title pretty much says it all. I am at a loss.
[[Director sharedDirector] setAnimationInterval:1.0/60];
[[Director sharedDirector] setDisplayFPS:YES];
But the FPS display shows constant 30 FPS.
This started happening to me in 0.8.1. I decided to upgrade to 0.8.2 and rebuilt my project and the same thing happens. I have tried to do a 'clean all' as well.
It does this on the simulator and on my 3G device. The SDK doesn't seem to matter. It happens from 2.2 up to 3.1.2.
The only thing I can think of is that one time a few weeks ago I purposefully set setAnimationInterval to 1.0/30 because I wanted to see something. It dropped to 30 FPS as expected. When I tried to set it back to 1.0/60, it did not go back to 60 FPS. I remember having to clean the project or do something else to get it to go back to 60.
Ever since that time, I occasionally have this problem where I am stuck at 30 FPS -- only this time, nothing I do gets it back to 60.
This happens in both release and debug mode
-- edit to add more info --
i just noticed that scenes that have a scheduled tick method are the ones running at 30 FPS and if I change to a scene that does not schedule a routine to run it runs at 60.
So if I change between my title screen (has scheduled tick) and my credits screen (does not), the game switches between 30 FPS and 60 FPS