A device build error occurred on the server. (Facebook Plugin)

Noticed in the daily build comments that something may have changed with the location of the facebook plugin. 

Now if i try to build with the latest build or the older one that i am trying to use for my maintenance build i get an error:

A device build error occurred on the server.BuildID: 536664c7d3472  Error: Get plugin failed.  Publisher: com.coronalabs  Plugin: facebook

It is very important that we are able to do maintenance builds against older corona builds please get the plugin stuff sorted out in such a way that older corona builds still work.  We need to be able to do patch builds against the corona version we tested throughly at the time of our initial release.

I’m not aware of that.  We linked in the latest Facebook SDK.  If you’re using build 2169 or later, for iOS builds, Facebook is a plugin.  Builds prior to 2169 are in the core.  That check in reference is for Enterprise users not SDK users.

What version of Corona SDK are you trying to build with?

Rob

I think he might be referring to this : 

2014.2292

  • Update the iOS facebook project to use the latest facebook sdk. Also removed greenthrottle from enterprise. We’re keeping facebook here instead of moving it to the plugins repo because we still want to package it with enterprise.
  • iOS: The facebook SDK changed the location of the resource bundle. Pointing it to the new correct location.

Right Kerem, we updated to 3.14 of the SDK.  For Corona SDK users, there are no changes you should have to make.  We just updated the plugin which you should grab the next time you build.  The new SDK wants to live in a new location for Enterprise users.  We chose to not move it to keep from breaking Enterprise customers… At least that’s the way I read the release notes.

Rob

Certainly something changed.  I have used build 2014.2231 to deliver our initial major release and a couple of minor updates as late as last Wed for both iOS and Android.  Now when i try to do an Android build i get that error.

A device build error occurred on the server.BuildID: 536664c7d3472  Error: Get plugin failed.  Publisher: com.coronalabs  Plugin: facebook

The error is a popup coming from the Android Build tool.  It clearly indicates that it cannot get the plugin which i assume is at the end of some URL that the build tool is looking for.

so please to fix.

Facebook is not a plugin on Android.  You need to specify the iphone only bit in your build.settings:

settings = {
    plugins =
    {
        [“facebook”] =
        {
            publisherId = “com.coronalabs”,
            supportedPlatforms = { iphone=true, [“iphone-sim”]=true },
        },
    },
}

Rob

Thanks for that Rob … think i messed that up when i was dealing with changes to get a submission working due to the changes with the apple IDFA and removing Facebook from the iOS build … 

Might be worth a sentence in the documentation to say something about not a plugin on android.

Cheers

It’s in the Gotcha’s for the Facebook library:

http://docs.coronalabs.com/api/library/facebook/index.html

and in the guide:

http://docs.coronalabs.com/guide/social/implementFacebook/index.html

But I’ll see if we can make it a bit more obvious…

I’m not aware of that.  We linked in the latest Facebook SDK.  If you’re using build 2169 or later, for iOS builds, Facebook is a plugin.  Builds prior to 2169 are in the core.  That check in reference is for Enterprise users not SDK users.

What version of Corona SDK are you trying to build with?

Rob

I think he might be referring to this : 

2014.2292

  • Update the iOS facebook project to use the latest facebook sdk. Also removed greenthrottle from enterprise. We’re keeping facebook here instead of moving it to the plugins repo because we still want to package it with enterprise.
  • iOS: The facebook SDK changed the location of the resource bundle. Pointing it to the new correct location.

Right Kerem, we updated to 3.14 of the SDK.  For Corona SDK users, there are no changes you should have to make.  We just updated the plugin which you should grab the next time you build.  The new SDK wants to live in a new location for Enterprise users.  We chose to not move it to keep from breaking Enterprise customers… At least that’s the way I read the release notes.

Rob

Certainly something changed.  I have used build 2014.2231 to deliver our initial major release and a couple of minor updates as late as last Wed for both iOS and Android.  Now when i try to do an Android build i get that error.

A device build error occurred on the server.BuildID: 536664c7d3472  Error: Get plugin failed.  Publisher: com.coronalabs  Plugin: facebook

The error is a popup coming from the Android Build tool.  It clearly indicates that it cannot get the plugin which i assume is at the end of some URL that the build tool is looking for.

so please to fix.

Facebook is not a plugin on Android.  You need to specify the iphone only bit in your build.settings:

settings = {
    plugins =
    {
        [“facebook”] =
        {
            publisherId = “com.coronalabs”,
            supportedPlatforms = { iphone=true, [“iphone-sim”]=true },
        },
    },
}

Rob

Thanks for that Rob … think i messed that up when i was dealing with changes to get a submission working due to the changes with the apple IDFA and removing Facebook from the iOS build … 

Might be worth a sentence in the documentation to say something about not a plugin on android.

Cheers

It’s in the Gotcha’s for the Facebook library:

http://docs.coronalabs.com/api/library/facebook/index.html

and in the guide:

http://docs.coronalabs.com/guide/social/implementFacebook/index.html

But I’ll see if we can make it a bit more obvious…