Cocos2d Error: Unbalanced Calls to Begin/End Appearance Transitions

Several cocos2d developers have run in to errors that look similar to the following:

Unbalanced calls to begin/end appearance transitions for <SKZVersusViewController: 0x173380d0>

They have generally seen this error when trying to start a game from Skillz, and then when they enter the game may experience a black screen. This problem has generally been caused by the way developers are setting up their view hierarchy's. In particular, in your AppDelegate make sure that you are setting a root view controller.

Here is an example of one of our publishers who encountered this issue, and how he resolved it:

If you encounter this error, we recommend that you examine how your view hierarchy is configured, and think about all of the views that will be added or removed when initializing your game, and later when launching Skillz.