In the new iOS 6 there is an Apple bug on orientations.
They rejected one of my apps and i started to study the crash...
Until Apple release a bug fix you need this or your App will be rejected!!
I discovered searching trough some forums that we can fix it in this way:
Add this code in the UntitledViewController.m near the shouldAutorotate...
-(NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window
{
return UIInterfaceOrientationMaskLandscape;
}
Someone at Apple decided (IMHO as an error) to sign up the game center only in portrait mode.
So if you are going to use in landscape only put this fix.
If you wanna see it in action, run your project with iOS 5.1 and iOS 6 simulator, with AppGameKit 1076.
Edit2 : i done much other tests.
Finally if you do in this way, using the last template Ancient Lady suggested, all works ok for AppGameKit 1076.
So be careful to add the new fix!!
Long life to Steve!