SOLVED - No Game Center pop-up?

I’m trying to test Game Center but there is no Game Center pop-up. The pop-up appears in the Xcode simulator but not on device.

Shouldn’t the pop-up appear whenever I have these two lines of code:

local gameNetwork = require "gameNetwork"  
gameNetwork.init( "gamecenter" )  

Why does it work in xCode simulator but not on device. Any help is appreciated! [import]uid: 13507 topic_id: 25103 reply_id: 325103[/import]

Try completely logging out of Game Center in the main Game Center app before testing with your app. Game Center seems to get confused between sandbox and real operation modes.
[import]uid: 7563 topic_id: 25103 reply_id: 101994[/import]

Thanks ewing. I tried that, but unfortunately it doesn’t help. I also tested two different devices and they both behave the same way, no pop-up. Any ideas what to try next? [import]uid: 13507 topic_id: 25103 reply_id: 102052[/import]

Ok, this was solved by logging in and out in the Game Center App. After that everything worked. It was the first time I logged into the Game Center after upgrading the iOS to 5.1. [import]uid: 13507 topic_id: 25103 reply_id: 102069[/import]