Game Center broken in build 2013.1125 (2013.5.23)

He is building using Enterprise and Enterprise doesn’t use build.settings.  Instead the native developer needs to setup their own Info.plist with values and include the libraries in their Xcode project.  These libraries are available to download on the same page as the Enterprise daily build. 

See http://docs.coronalabs.com/native/plugin/index.html#using-plugins

for instructions on getting the plugins into your project.

Rob

I have the same error with Enterprise build 2458, still no plugin for game network . When it is going to be fixed???

Engineering is saying that the next daily build should have the plugin included.

Rob

Hey Rob,

Plugin is there, but unfortunately it has a critical bug!

When you open the leaderboards it works fine, but when you click on “Ok” button on the top right to close them it crashes the app all the time both on iOS 7.0 and 8.0 on iPhone and iPad.

I hope it would be fixed soon!

Let me know

@Jack227 This has been fixed in the plugin.  Since you are enterprise it will be in the next enterprise daily build.

Great, thank you a lot!

I am having problem with game center with corona version 2014.2467

it says the following when trying to run on ios simulator:

Oct 18 13:17:47 MacBook-Air.local Test Game[9036]: Runtime error ERROR: Could not load provider (gamecenter) due to the following reason: module 'CoronaProvider.gameNetwork.gamecenter' not found:resource (CoronaProvider.gameNetwork.gamecenter.lu) does not exist in archive no field package.preload['CoronaProvider.gameNetwork.gamecenter'] no file '/Users/Hayk/Library/Developer/CoreSimulator/Devices/636E3952-6F5C-4624-8E99-18869BE599B3/data/Containers/Bundle/Application/DBCB1521-075E-453B-B7D7-DBB6B7AB5519/Test Game.app/CoronaProvider.gameNetwork.gamecenter.lua' no file '/Users/Hayk/Library/Developer/CoreSimulator/Devices/636E3952-6F5C-4624-8E99-18869BE599B3/data/Containers/Bundle/Application/DBCB1521-075E-453B-B7D7-DBB6B7AB5519/Test Game.app/CoronaProvider.gameNetwork.gamecenter.lua' no file './CoronaProvider.gameNetwork.gamecenter.so' no file '/Users/Hayk/Library/Developer/CoreSimulator/Devices/636E3952-6F5C-4624-8E99-18869BE599B3/data/Containers/Bundle/Application/DBCB1521-075E-453B-B7D7-DBB6B7AB5519/Test Game.app/CoronaProvider.gameNetwork.gamecenter.so' no file './CoronaProvider.so' no file '/Users/Hayk/Library/Developer/CoreSimulator/Devices/636E3952-6F5C-4624-8E99-18869BE599B3/data/Containers/Bundle/Application/DBCB1521-075E-453B-B7D7-DBB6B7AB5519/Test Game.app/CoronaProvider.so'CoronaProvider.gameNetwork.gamecenter. stack traceback: [C]: in function 'assert' ?: in function 'requireProvider' ?: in function 'setCurrentProvider' /Users/perry/src/corona/core/main/plugins/gameNetwork/ios/../shared/gameNetwork.lua:18: in function 'init' /Users/Hayk/games/Test Game/game/main.lua:235: in function 'Initialize' /Users/Hayk/games/Test Game/game/main.lua:247: in main chunk Oct 18 13:17:47 MacBook-Air.local securityd[9018]: SecTaskCopyAccessGroups No keychain access group specified whilst running in simulator, falling back to default set

@hayk, In build 2467, GameCenter is now a plugin.  Can you post your build.settings file?

See: http://docs.coronalabs.com/plugin/gameNetwork-apple/index.html

Rob

Oh, missed that one. 

Thanks for info.

Hi, 

I’m working with  Enterprise  project and I still get the same error. --> 

ERROR: Could not load provider (gamecenter) due to the following reason: module ‘CoronaProvider.gameNetwork.gamecenter’ not found:resource (CoronaProvider.gameNetwork.gamecenter.lu) does not exist in archive

I have the latest Enterprise Daily Build CoronaSDK 2014.2478

 

This is what I have done as Docs saying : http://docs.coronalabs.com/plugin/gameNetwork-apple/index.html

 

build.settings 

settings = { plugins = { ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, }, }, }

main.lua

local gameNetwork = require( "gameNetwork" ) local loggedIntoGC = false local function initCallback( event ) if ( event.type == "showSignIn" ) then -- This is an opportunity to pause your game or do other things you might need to do while the Game Center Sign-In controller is up. elseif ( event.data ) then loggedIntoGC = true native.showAlert( "Success!", "", { "OK" } ) end end local function onSystemEvent( event ) if ( event.type == "applicationStart" ) then gameNetwork.init( "gamecenter", initCallback ) return true end end Runtime:addEventListener( "system", onSystemEvent )

The error from xCode6

2014-10-26 20:58:54.990 Super Free Throw[359:43091] Runtime error ERROR: Could not load provider (gamecenter) due to the following reason: module 'CoronaProvider.gameNetwork.gamecenter' not found:resource (CoronaProvider.gameNetwork.gamecenter.lu) does not exist in archive no field package.preload['CoronaProvider.gameNetwork.gamecenter'] no file '/private/var/mobile/Containers/Bundle/Application/B14295E2-E96B-4659-869A-BA4166C92129/Super Free Throw.app/CoronaProvider.gameNetwork.gamecenter.lua' no file '/private/var/mobile/Containers/Bundle/Application/B14295E2-E96B-4659-869A-BA4166C92129/Super Free Throw.app/CoronaProvider.gameNetwork.gamecenter.lua' no file './CoronaProvider.gameNetwork.gamecenter.so' no file '/private/var/mobile/Containers/Bundle/Application/B14295E2-E96B-4659-869A-BA4166C92129/Super Free Throw.app/CoronaProvider.gameNetwork.gamecenter.so' no file './CoronaProvider.so' no file '/private/var/mobile/Containers/Bundle/Application/B14295E2-E96B-4659-869A-BA4166C92129/Super Free Throw.app/CoronaProvider.so'CoronaProvider.gameNetwork.gamecenter. stack traceback: [C]: in function 'assert' ?: in function 'requireProvider' ?: in function 'setCurrentProvider'

Help please,

Enterprise does not use build.settings.  You have to include the object library in your project.  Your account on the forums shows you are a starter, so if you’re working with a trial of Enterprise, I don’t know that the plugins are available for the trial.

Rob

Yes this account is Starter but I ve an Enterprise too. Solved!! I forgot about insert the plugin in Xcode

Thanks Rob for you fast answer! 

helo Corona,

i am using Corona Enterprise 2014.2438 with xcode 6 GM and when i try to run it in iphone 6 simulator i got some error that say

module ‘gameNetwork’ not found:resource (gameNetwork.lu) does not exist in archive

and here is some from xcode

2014-09-19 00:41:47.682 App[79708:1529797] Platform: iPhone Simulator / x86_64 / 8.0 / Apple Software Renderer / OpenGL ES 2.0 APPLE-10.1.4 / 2014.2434
2014-09-19 00:41:47.709 App[79708:1529797] Runtime error
module ‘gameNetwork’ not found:resource (gameNetwork.lu) does not exist in archive
    no field package.preload[‘gameNetwork’]
    no file ‘/Users/jonas/Library/Developer/CoreSimulator/Devices/F3419792-7DF4-4F91-BEFD-710DB5D65060/data/Containers/Bundle/Application/BFD8EF85-0EA0-47ED-B877-A04F158C263F/App.app/gameNetwork.lua’
    no file ‘/Users/jonas/Library/Developer/CoreSimulator/Devices/F3419792-7DF4-4F91-BEFD-710DB5D65060/data/Containers/Bundle/Application/BFD8EF85-0EA0-47ED-B877-A04F158C263F/App.app/gameNetwork.lua’
    no file ‘./gameNetwork.so’
 

please help, ive got no idea for this

thank you

Are you building with Xcode/Enterprise or are  you building with Corona SDK?

Rob

hai Rob,

i build it with xcode 6 GM,

I’m confused.  It looks like to me that you are running the Corona SDK simulator, which would not be building with Enterprise and Xcode. 

i hope with this print screen you will understand what i mean

I think we were moving GameCenter to a plugin due to issue with Apple flagging it as a private API.  I’m not sure if that’s rolled into a daily build or not.

But in general, for plugins, you have to download the plugins file for the Enterprise build you’re using and include the various plugin objects in your projects.  Look to see of there is a game networking one.

Rob

thank you rob, will wait for your update

I just looked and it doesn’t look like it’s moved yet.  I don’t know when it will move.  I’ll try to get a better answer from engineering.

Rob