This error is thrown if there's a mismatch between the supported interface orientations in the plist and the ones returned by -(NSUInteger)supportedInterfaceOrientations
Keep in mind that that the NSUInteger returned by the supportedInterfaceOrientations must be a UIInterfaceOrientationMask, note the -MASK-, I once made the mistake of simply returning a UIInterfaceOrientation i.s.o. the ...Mask value (that's autocomplete for you)
e.g.
- (NSUInteger) supportedInterfaceOrientations {
return UIInterfaceOrientationMaskPortrait;
// and NOT UIInterfaceOrientationPortrait;
}