I am trying to migrate my application to the new plugin.facebook.v4 from the old, but receive this error upon launching the application in the simulator:
PluginSync: plugin com.coronalabs/plugin.facebook.v4 needs to be updated for platform mac-sim to build number: 2669 Aug 11 03:23:10.973: PluginSync: downloading plugin:http://plugins.coronasphere.com/com.coronalabs/facebook/2015.2669/mac-sim/plugin.facebook.v4.zip Aug 11 03:23:11.159: Runtime error Module 'plugin\_facebook\_v4' not found: no field package.preload['plugin\_facebook\_v4'] no file '/Users/camerondavies/Library/Application Support/Corona/Simulator/Plugins/plugin\_facebook\_v4.lua' no file '/Users/camerondavies/Projects/EndeavorConnect/plugin\_facebook\_v4.lua' no file '/Applications/CoronaSDK-2692/Corona Simulator.app/Contents/Resources/plugin\_facebook\_v4.lua' no file '/Users/camerondavies/Library/Application Support/Corona/Simulator/Plugins/plugin\_facebook\_v4.dylib' no file './plugin\_facebook\_v4.dylib' no file '/Applications/CoronaSDK-2692/Corona Simulator.app/Contents/Resources/plugin\_facebook\_v4.dylib'File: module 'plugin\_facebook\_v4' not found stack traceback: [C]: in function 'require' ?: in function 'require' main.lua:9: in main chunk
Attempting to build regardless of the error results in the following error
Build Failed A Device build error occurred on the server. buildId : 55ca6a06dea65 Error:
The Daily Build 2015.2692 is the one being used. The plugin settings for the facebook plugin in build.settings are as follows:
plugins = { ["plugin.facebook.v4"] = { publisherId = "com.coronalabs" } }
The call for the plugin in my main.lua is:
local facebook = require("plugin.facebook.v4")
I know that the plugin is not currently supported by iOS. I’m trying to build for android.
Any help would be greatly appreciated. I have sought help on the following webpages already.
https://docs.coronalabs.com/daily/plugin/facebook-v4/migration.html
https://docs.coronalabs.com/daily/plugin/facebook-v4/index.html
https://coronalabs.com/blog/2015/07/24/facebook-v4-plugin-android-beta/