I'm using 3.9 and I can replicate this issue 100% by minimizing (pressing the hardware button on the iphone) the app WHILE THE SPLASH SCREEN IS PRESENTED.
According to this old post in cocos2d forum:
it is caused by
In the app delegate you have to delay the [window_ makeKeyAndVisible]; line so that it only runs if the app is in the foreground, otherwise you run it the first time the app is returned to the foreground via -(void) applicationWillEnterForeground:(UIApplication*)application.
I put this very stupid piece of code in the AppController.m
// make key and hid status bar
appstate = [UIApplication sharedApplication].applicationState;
if(appstate != UIApplicationStateBackground)
} while(appstate == UIApplicationStateBackground);
and this prevents the crash, but when I resume the app, the view is not presented and the app won't start.
Maybe this will help somebody to find a fix for this.
On a side note, I've been using cocos since 2.2.6 and I've always received crash logs about this crash. I think this issue has been around for a long time? Glad I found a way to reproduce it btw.