I actually have a subscription to Corona Enterprise and have built the project referenced in the first post with it. My Xcode version was 4.5 and the Enterprise build was 922. The game installed and played perfectly except for the fact that Gamecenter didn’t launch.
On a separate occasion, I built an app using the regular 922 daily build with the following code:
[lua]io.output():setvbuf( “no” );
display.setStatusBar( display.HiddenStatusBar )
local gameNetwork = require(“gameNetwork”)
local function GC_Callback( event )
print(“GC_Callback response”)
for i,v in pairs(event) do
if(type(v) == “table”) then
for j,k in pairs(v) do
print(i,j,k);
end
else
print(i,v)
end
end
if event.data then
gameNetwork.show(“achievements”);
else
end
end
function InitGC()
gameNetwork.init( “gamecenter”, GC_Callback )
end
local function main()
local button = display.newRect(0,0,300,300)
button:addEventListener(“tap”, InitGC)
end
main();[/lua]
This new project used the same provisioning profile and bundle ID as my main project. I tested it with four different devices
Device A: iPhone 4 (iOS 6)
Device B: iPhone 4 (iOS 5.1)
Device C: iPad 3 (iOS 6)
Device D: iPad 2 (iOS 5.0.1)
Device A and D launched Gamecenter correctly.
Device B showed the same logs as the first post.
Device C failed to launch Gamecenter.
[import]uid: 181020 topic_id: 31438 reply_id: 125772[/import]