ERROR: An error occurred during build - Gamesparks

All of the sudden I cannot build while using the gamesparks plugin. 

                    ERROR: An error occurred during build (corona.build.7). The server returned the following message:

                    —

                    A device build error occurred on the server. 

                    

                    Error: Get plugin failed. 

                    

                    Plugin: plugin.gamesparks 

                    Publisher: com.gamesparks 

                    User Account: ``

                    

                    BuildID: 598a7ed0e3fb2

I have gameNetwork plugin fail. I wonder if it is related?

01:11:16.933  ERROR: An error occurred during build (corona.build.7). The server returned the following message:

[Build Error #5]

A device build error occurred on the server.

Error: Get plugin failed.

Plugin: CoronaProvider.gameNetwork.apple

Publisher: com.coronalabs

User Account: me

BuildID: 598a99779efad

Try building again and see if the problem continues.  If it happens once and you try and build again and it works, it could have been some temporary Internet glitch. If you have issues multiple times then we need to investigate further.  

Rob. 

I’m still having the issue with  CoronaProvider.gameNetwork.apple when building. If I comment it out I then have an issue when I run the app.

Runtime Error

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

no file ‘(null)/plugin/gpgs.lua’

no file ‘(null)/plugin/gpgs.lua’

no file '/data/app-lib/

Sorry, I meant to thank you for looking at this. I appreciate your efforts.

Hi @Skartechnologies.

What version of Corona are you running?

Are you on a Mac or Windows?

Can you post your build.settings file (use the blue <> and copy/paste the code into the popup window)

Can you post the contents of your console log window with the full error your getting?

Thanks

Rob

Gpgs does not work on iOS

settings = { orientation = { default = "landscapeRight", supported = { "landscapeRight" }, }, iphone = { plist = { UIStatusBarHidden = true, -- true or false -- CFBundleShortVersionString = "1.0", -- CFBundleVersion = "1.0.0", CFBundleIdentifier = "com.Nissistudio.Spinnershark", UIPrerenderedIcon = true, -- set to false if you want the gradient overlay CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-60@3x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-40@3x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png" }, MinimumOSVersion = "8.0", NSAppTransportSecurity = { NSAllowsArbitraryLoads = true }, UILaunchImages = { { -- iPhone 4 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 4 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 4 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 5 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPhone 5 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPhone 5 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPad Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Portrait", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPad LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPad LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPhone 6 Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 Plus Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-736h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPhone 6 Plus LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-736h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPhone 6 Plus LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-736h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{414, 736}" }, }, } }, plugins = { ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs" }, ["plugin.appodeal"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true} }, ["plugin.gpgs"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } } }, -- -- Android Section -- android = { googlePlayGamesAppId = "deleted for posting", usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.GET\_ACCOUNTS", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.ACCESS\_FINE\_LOCATION" }, }, }

Windows 10 pro.

Corona 2017.3107

This is what I get if I don’t comment out the gameNetwork

16:28:33.342  

16:28:33.342  Windows simulator build date: Jul 18 2017 @ 03:29:35

16:28:33.342  

16:31:32.143  

16:31:32.143  Copyright © 2009-2017  C o r o n a   L a b s   I n c .

16:31:32.143   Version: 3.0.0

16:31:32.143   Build: 2017.3107

16:31:32.143  Platform: iPhone / x64 / 10.0 / AMD Radeon HD 6900 Series / 4.5.13399 Compatibility Profile Context 15.200.1062.1004 / 2017.3107 / en_US | US | en_US | en

16:31:32.143  Loading project from:   C:\Users\FatherSkar\Desktop\Spinner Shark v14

16:31:32.143  Project sandbox folder: C:\Users\FatherSkar\AppData\Local\Corona Labs\Corona Simulator\Sandbox\spinner shark v14-46E9E4BE7314256048A8818BDAE0E6BB\Documents

16:31:32.807  appodeal.init() WARNING: The Appodeal plugin is only supported on Android, iOS and tvOS devices. Please build for device

16:31:32.807  appodeal.show() WARNING: The Appodeal plugin is only supported on Android, iOS and tvOS devices. Please build for device

16:31:40.503  

16:31:40.503  Copyright © 2009-2017  C o r o n a   L a b s   I n c .

16:31:40.503   Version: 3.0.0

16:31:40.503   Build: 2017.3107

16:31:40.503  Platform: iPhone / x64 / 10.0 / AMD Radeon HD 6900 Series / 4.5.13399 Compatibility Profile Context 15.200.1062.1004 / 2017.3107 / en_US | US | en_US | en

16:31:40.503  Loading project from:   C:\Users\FatherSkar\Desktop\Spinner Shark v14

16:31:40.503  Project sandbox folder: C:\Users\FatherSkar\AppData\Local\Corona Labs\Corona Simulator\Sandbox\spinner shark v14-46E9E4BE7314256048A8818BDAE0E6BB\Documents

16:31:40.518  appodeal.init() WARNING: The Appodeal plugin is only supported on Android, iOS and tvOS devices. Please build for device

16:31:40.518  appodeal.show() WARNING: The Appodeal plugin is only supported on Android, iOS and tvOS devices. Please build for device

16:32:12.132  Using custom build id from app bundle: 00000 (AppSettings.lua)

16:32:12.132  

16:32:12.132  Using custom Build Id 00000

16:32:18.405  BuildID: kCoronaBuild [A device build error occurred on the server. 

16:32:18.405  

16:32:18.405  Error: Get plugin failed. 

16:32:18.405  

16:32:18.405  Plugin: CoronaProvider.gameNetwork.apple 

16:32:18.405  Publisher: com.coronalabs 

16:32:18.405  User Account: Skartechnologies@gmail.com

16:32:18.405  

16:32:18.405  BuildID: 598b715c55c83

16:32:18.405  ERROR: An error occurred during build (corona.build.7). The server returned the following message:

16:32:18.405  —

16:32:18.405  A device build error occurred on the server. 

16:32:18.405  

16:32:18.405  Error: Get plugin failed. 

16:32:18.405  

16:32:18.405  Plugin: CoronaProvider.gameNetwork.apple 

16:32:18.405  Publisher: com.coronalabs 

16:32:18.405  User Account: Skartechnologies@gmail.com

16:32:18.405  

16:32:18.405  BuildID: 598b715c55c83

16:32:18.405  —

16:32:18.528  Android build failed (5) after 6 seconds

If I remove gameNetwork from the build.settings file, this is what I get when I run the app on my Android phone:

Hey, gpgs is now working!

Add:

supportedPlatforms = { iphone=true, ["iphone-sim"]=true }

i.e.

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

to the gameNetwork plugin. You shouldn’t need to do this. I’ll report it.

Rob

I still cannot build using gamesparks. 

@scott harrison I have built for iOS and gamesparks before, it’s just been within the last week or two that I can’t build any longer. 

settings = { orientation = { default = "portrait", supported = { "portrait" } }, iphone = { plist = { CFBundleURLTypes = { { CFBundleURLSchemes = { "fb135961820318777" -- Replace XXXXXXXXXXXXXXX with your Facebook App ID } } }, FacebookAppID = "135961820318777", -- Replace XXXXXXXXXXXXXXX with your Facebook App ID LSApplicationQueriesSchemes = { "fb", -- Needed for the facebook-v4.isFacebookAppEnabled() API "fbapi", "fbauth2", "fb-messenger-api", "fbshareextension", }, UILaunchStoryboardName = "LaunchScreen", CFBundleIconFiles = { "Icon-40.png", "Icon-58.png", "Icon-76.png", "Icon-80.png", "Icon-87.png", "Icon-120.png", "Icon-152.png", "Icon-167.png", "Icon-180.png", }, }, }, android = { facebookAppId = "135961820318777", -- Replace XXXXXXXXXXXXXXX with your Facebook App ID }, window = { titleText = { default = "X-ray", }, }, plugins = { ["plugin.bit"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true, osx=true, win32=true } }, ["plugin.openssl"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true, osx=true, win32=true } }, ["plugin.gamesparks"] = { publisherId = "com.gamesparks", }, ["plugin.facebook.v4"] = { publisherId = "com.coronalabs" }, }, }

lofy,

I have an app using gameSparks plugin, that I did build with no problem, just now.  I am however using a Mac, OS Sierra, and I am using Corona SDK 2017.3114.  I have not made any changes in my code that effects game sparks in the last 3 or 4 days.

Maybe try the 3114 daily build.  I think from what I have heard 3107 you are using should be okay with latest game sparks.  But it seems one way to see if that build version 3107 is the issue, would be to download the 3114 and then try to build.  But, of course I am not doing this on Windows, so I have no idea if that makes any difference.

Hope this helps.

Bob

Worked perfectly! 

Thank you so much!

Hi lofy, 

If you are still having issues building with GameSparks, please submit a ticket to our support team about this issue if you have not done so already and they should be able to get you back on track - https://support.gamesparks.net/support/home

Clare

Using the latest daily build solved the issue. Thank you.