Build Error :

I am facing this unusual problem where I am not able to build in my mac i.e I am getting this error while building. Build works for some cases,

While building for iPhone -

ERROR: Unexpected empty response from build server

While building for Android -

ERROR : Build error #11

Corona SDK versions used  : 2830,2873…etc [Also used the latest sdk’s(daily builds)]

Internet connection : good.

Using Mac : OS X

What I have found so far,

Build works fine for the following cases.

Case 1 : When I remove the facebook plugin it builds perfectly.Then I taught facebook was the problem, To make sure, I removed all other plugins except facebook and tried building but this time it builds fine,So facebook alone is not the problem.

Case 2 : Disabling fuse monetization and analytics.

P.S : If I use Windows pc to build for android its working fine.

Hi @madan,

Most likely, there is some issue in your build.settings file. Can you please post its entire contents here? Please surround the content with “code” tags for clarity in the forums.

[code] -- [/code]

Thanks,

Brent

Thanks for the reply, this is my build settings…

[code] settings = { orientation = { default = "portrait", supported = { "portrait", } }, iphone = { plist = { UIBackgroundModes = {"remote-notification"}, UIAppFonts = { }, NSAppTransportSecurity = { NSAllowsArbitraryLoads = true }, CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-40@3x.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-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png", }, UIStatusBarHidden = false, UIPrerenderedIcon = false, -- set to false for "shine" overlay UIApplicationExitsOnSuspend = false, FacebookAppID = "xxxxxxxxxxx", CFBundleURLTypes = { { CFBundleURLSchemes = { "fbxxxxxxxxxxx", "xxxxxxxx", "xxxxxxxxxxxxx", --for CoronaViewer } } }, } }, android = { permissions = { { name = ".permission.C2D\_MESSAGE", protectionLevel = "signature" }, }, usesPermissions = { "com.android.vending.BILLING", "android.permission.INTERNET", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.ACCESS\_WIFI\_STATE", "android.permission.GET\_ACCOUNTS", "android.permission.RECEIVE\_BOOT\_COMPLETED", "com.google.android.c2dm.permission.RECEIVE", ".permission.C2D\_MESSAGE", }, versionCode = "xxxx", versionName = "x.x.xx", googlePlayGamesAppId = "xxxxxxxxxxx", --for google play services largeHeap = true, }, plugins = { --social ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs",}, ["facebook"] = { publisherId = "com.coronalabs"}, ["CoronaProvider.gameNetwork.google"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true },}, ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true },}, ["plugin.gamecircle"] = { publisherId = "COM\_INNOVATIVELEISURE",supportedPlatforms = { ["android-kindle"] = true },}, --analytics ["plugin.gameanalytics"] = { publisherId = "com.gameanalytics",}, ["CoronaProvider.analytics.flurry"] = { publisherId = "com.coronalabs",}, --inapp ["plugin.amazon.iap"] = { publisherId = "com.amazon", supportedPlatforms = { ["android-kindle"] = true },}, ["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true }}, --ads ["plugin.fuse"] = { publisherId = "com.coronalabs"}, ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true,iphone=true, ["android-kindle"]=true,}}, ["CoronaProvider.ads.vungle"] = { publisherId = "com.vungle", supportedPlatforms = { android = true , iphone=true, ["iphone-sim"]=true, }, }, ["CoronaProvider.ads.iads"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true },}, ["plugin.chartboost"] = { publisherId = "com.swipeware",}, ["plugin.adbuddiz"] = { publisherId = "com.adbuddiz" }, --utilities ["plugin.openssl"] = { publisherId = "com.coronalabs", }, ["plugin.photon"] = { publisherId = "com.exitgames",}, ["plugin.notifications"] = { publisherId = "com.coronalabs"}, }, excludeFiles = { }, build = { neverStripDebugInfo = true }, } [/code]  

For previous updates the same build.settings worked fine …

I have tried on different mac machines, no luck.

May be problem with corona build server? or Am I missing something ? Any suggestions?

Hi @madan,

Just to clarify, if you remove the “fuse” plugin from build.settings, the build works in all cases? Did you apply and get access for using Fuse as part of the Fuse open beta group?

Brent

One thing I see is that you’re loading the old Facebook plugin. You need to be using the Facebook V4 plugin. See:

https://store.coronalabs.com/plugin/facebook-v4

Are there additional messages in your Xcode devices console log?

@Brent

I tried removing fuse plugin from build.settings. The problem still exists. Although after disabling “Monetization and Analytics” the build works fine at all times.

@Rob

I’m using the old facebook plugin because facebook v4 plugin is unstable and still in beta. Certain apis that we need are not yet available.Also tried facebookV4 plugin instead of the old plugin, but still not able to build. I get the same error while building.

No Rob, I don’t get any additional messages in the Xcode devices console log.

@Rob

I got the following message in the Xcode devices console log :

“WebServices: XMLRPC request failed: Error Domain=NSURLErrorDomain Code=-1001 “The request timed out.” UserInfo=0x7f95dad46880 {NSUnderlyingError=0x7f95dafbfe60 “The request timed out.”, NSErrorFailingURLStringKey=https://developer.coronalabs.com/services/xmlrpc, NSErrorFailingURLKey=https://developer.coronalabs.com/services/xmlrpc, NSLocalizedDescription=The request timed out.}”

While we say the V4 plugin is still in beta, it’s stable and all V1 plugin features should be in place. The reason we haven’t taken the beta tag off yet is additional features are still being worked on. If you plan to deploy to iOS you must use V4 because of Apple’s ATS requirements.

The error message tells me you can’t reach our build servers. Normally on Windows this is due to Windows / Internet Explorer setting a proxy (a go between server designed to filter/block traffic). Usually Mac’s don’t have this issue, but there is a possibility this could happen or you have a firewall blocking some services.

What happens if you try to access:  https://developer.coronalabs.com/services/xmlrpc

from Safari (Mac) or Internet Explorer (Windows) (don’t test with Firefox or Chrome), Until you can access that URL, you will have build problems. You’re not using a VM by any chance?

Rob

@Rob
In facbook V4 plugin, showDialog(“friends”) is not supported for iOS that’s why we didn’t migrate to V4. Also using pluginV4 gives the same error.

Got the following when tried accessing https://developer.coronalabs.com/services/xmlrpc

XML-RPC server accepts POST requests only.

We are not using VM, We tried in two mac devices(Firewall disabled) the result was the same. And also tried creating a sample project (hello world app) with the same build.setting, still got the same error.

P.S. The problem persists.

Can you build the Hello World sample app?

No, I am not able to build hello world sample app (with same build.settings).

Just to clarify, are you using your build.settings or the hello world build.settings?

Rob

If I use hello world build.settings it builds fine. If I use my build.settings, build not working.

Can you start commenting out plugins one by one until you find the culprit?

I tried commenting one by one, build didn’t work.

Build worked when :

* Commenting facebook plugin. or

* Commenting some random plugins together. or

* Disabling fuse monetization and analytics.

You can replicate build error by creating a sample project with my build.settings(posted previously) in Mac device.

Madan

Any updates on this issue?
 

Its been over a month now, still facing the same issue on all daily builds. 

We couldn’t publish an update to our game on iOS because of this issue.  :(  :frowning:

Hi madan,

I think the build problem I have been having is related to yours.  the facebook.v4 plug-in also appears to be failing to link properly when “Enable Analytics and Monetization” is enabled.

This means as of right now, Fuse and facebook.v4 cannot be used together.

See this thread for more details.

Best regards,

Tony

Hi @madan,

Most likely, there is some issue in your build.settings file. Can you please post its entire contents here? Please surround the content with “code” tags for clarity in the forums.

[code] -- [/code]

Thanks,

Brent

Thanks for the reply, this is my build settings…

[code] settings = { orientation = { default = "portrait", supported = { "portrait", } }, iphone = { plist = { UIBackgroundModes = {"remote-notification"}, UIAppFonts = { }, NSAppTransportSecurity = { NSAllowsArbitraryLoads = true }, CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-40@3x.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-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png", }, UIStatusBarHidden = false, UIPrerenderedIcon = false, -- set to false for "shine" overlay UIApplicationExitsOnSuspend = false, FacebookAppID = "xxxxxxxxxxx", CFBundleURLTypes = { { CFBundleURLSchemes = { "fbxxxxxxxxxxx", "xxxxxxxx", "xxxxxxxxxxxxx", --for CoronaViewer } } }, } }, android = { permissions = { { name = ".permission.C2D\_MESSAGE", protectionLevel = "signature" }, }, usesPermissions = { "com.android.vending.BILLING", "android.permission.INTERNET", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.ACCESS\_WIFI\_STATE", "android.permission.GET\_ACCOUNTS", "android.permission.RECEIVE\_BOOT\_COMPLETED", "com.google.android.c2dm.permission.RECEIVE", ".permission.C2D\_MESSAGE", }, versionCode = "xxxx", versionName = "x.x.xx", googlePlayGamesAppId = "xxxxxxxxxxx", --for google play services largeHeap = true, }, plugins = { --social ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs",}, ["facebook"] = { publisherId = "com.coronalabs"}, ["CoronaProvider.gameNetwork.google"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true },}, ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true },}, ["plugin.gamecircle"] = { publisherId = "COM\_INNOVATIVELEISURE",supportedPlatforms = { ["android-kindle"] = true },}, --analytics ["plugin.gameanalytics"] = { publisherId = "com.gameanalytics",}, ["CoronaProvider.analytics.flurry"] = { publisherId = "com.coronalabs",}, --inapp ["plugin.amazon.iap"] = { publisherId = "com.amazon", supportedPlatforms = { ["android-kindle"] = true },}, ["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true }}, --ads ["plugin.fuse"] = { publisherId = "com.coronalabs"}, ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true,iphone=true, ["android-kindle"]=true,}}, ["CoronaProvider.ads.vungle"] = { publisherId = "com.vungle", supportedPlatforms = { android = true , iphone=true, ["iphone-sim"]=true, }, }, ["CoronaProvider.ads.iads"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true },}, ["plugin.chartboost"] = { publisherId = "com.swipeware",}, ["plugin.adbuddiz"] = { publisherId = "com.adbuddiz" }, --utilities ["plugin.openssl"] = { publisherId = "com.coronalabs", }, ["plugin.photon"] = { publisherId = "com.exitgames",}, ["plugin.notifications"] = { publisherId = "com.coronalabs"}, }, excludeFiles = { }, build = { neverStripDebugInfo = true }, } [/code]  

For previous updates the same build.settings worked fine …