Game Center broken in build 2013.1125 (2013.5.23)

Game Center doens’t work anymore since build 2013.1125.

It doesn’t launch on device and I get this error in the console (I did required “gameNetwork”) :


31/05/13 13:36:42,058 SpaceDisorder[14019]: 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/michaelpeiffert/Library/Application Support/iPhone Simulator/6.1/Applications/28B23A52-8C1B-4E96-AF98-95BFDDAAA509/SpaceDisorder.app/CoronaProvider.gameNetwork.gameCenter.lua’

    no file ‘/Users/michaelpeiffert/Library/Application Support/iPhone Simulator/6.1/Applications/28B23A52-8C1B-4E96-AF98-95BFDDAAA509/SpaceDisorder.app/CoronaProvider.gameNetwork.gameCenter.lua’

    no file ‘./CoronaProvider.gameNetwork.gameCenter.so’

    no file ‘/Users/michaelpeiffert/Library/Application Support/iPhone Simulator/6.1/Applications/28B23A52-8C1B-4E96-AF98-95BFDDAAA509/SpaceDisorder.app/CoronaProvider.gameNetwork.gameCenter.so’

    no file ‘./CoronaProvider.so’

    no file '/Users/michaelpeiffert/Library/Application Support/iPhone Simulator/6.1/Applications/28B23A52-8C1B-4E96-AF98-95BFDDAAA509/SpaceDisorder.app/CoronaProvider.so’CoronaProvider.gameNetwork.gameCenter.

stack traceback:

    [C]: ?

    [C]: in function ‘assert’

    ?: in function ‘requireProvider’

    ?: in function ‘setCurrentProvider’

    …in/plugins/gameNetwork/ios/…/shared/gameNetwork.lua:18: in function ‘init’

    ?: in function <?:25>

    ?: in function <?:218>


Does that mean Game Center is now a plugin?

If so, how do you declare it in build.settings ?

Thanks for your help !

I was able to build the GameCenter sample app with build 1134 and it works fine. Try building the sample app with the latest build. GameCenter is not a plugin and there has been no changes to the library recently.

I was able to build the GameCenter sample app with build 1134 and it works fine. Try building the sample app with the latest build. GameCenter is not a plugin and there has been no changes to the library recently.

type gameNetwork.init(“game c enter”) instead of gameNetwork.init(“game C enter”)

type gameNetwork.init(“game c enter”) instead of gameNetwork.init(“game C enter”)

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

yup, will wait for that also

waduh saya juga punya masalah yang sama, tolong beri solusi atau kabar secepatnya

terima kasih :slight_smile:

waduh i have that same problem, please give solution or inform ASAP
thank you :slight_smile:

dear rob,

i just change my xcode to version 6.0.1, also i downloaded corona enterprise 2014.2445

but i still got same 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/B72709A1-F451-428C-A953-0E984A6DEBA9/Dragonslot.app/gameNetwork.lua’
    no file ‘/Users/jonas/Library/Developer/CoreSimulator/Devices/F3419792-7DF4-4F91-BEFD-710DB5D65060/data/Containers/Bundle/Application/B72709A1-F451-428C-A953-0E984A6DEBA9/Dragonslot.app/gameNetwork.lua’
    no file ‘./gameNetwork.so’
    no file '/Users/jonas/Library/Developer/CoreSimulator/Devices/F3419792-7DF4-4F91-BEFD-710DB5D65060/data/Containers/Bundle/Application/B72709A1-F451-428C-A953-0E984A6DEBA9/Dragonslot.app/gameNetwork.so’gameNetwork

i have check the plugin also, but there is still no gamenetwork plugin,

please advice

It won’t be a plugin any time soon, at least not until we finish all these iOS 8 issue.  Let me ask engineering, but they are quite swampped at the moment.

hello Rob,
while iam waiting for your engineering answer, i try some code also, and i found that flurry and facebook also not work when i run it with iphone 6 simulator, here is some error similiar with runtime error before

module ‘facebook’ not found:resource (facebook.lu) does not exist in archive
    no field package.preload[‘facebook’]

thank you

i attached some code that give me the runtime error,

the code only filled with some require,

i am waiting for your response,

thank you

Looks like you are missing the Facebook plugin. 

[lua]settings = {

    plugins =

    {

        [“facebook”] =

        {

            publisherId = “com.coronalabs”

        },

    },

}[/lua]