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:
You can safely ignore the simulator runtime error. The missing file in question is just a stub file that will print a message anytime you call one of the facebook-v4 APIs in the Corona Simulator. Since the facebook-v4 plugin won’t do anything in the simulator, that missing stub file would just print a warning saying, “The plugin.facebook.v4 library is not available in the Corona Simulator.”
As for the device build failing, try migrating our Facebook sample included with Corona SDK and see if you get the same results. If the Facebook sample builds fine, try building your app again with some significant portions commented out, and post the results.
You can safely ignore the simulator runtime error. The missing file in question is just a stub file that will print a message anytime you call one of the facebook-v4 APIs in the Corona Simulator. Since the facebook-v4 plugin won’t do anything in the simulator, that missing stub file would just print a warning saying, “The plugin.facebook.v4 library is not available in the Corona Simulator.”
As for the device build failing, try migrating our Facebook sample included with Corona SDK and see if you get the same results. If the Facebook sample builds fine, try building your app again with some significant portions commented out, and post the results.