Announcing OS X, tvOS updates, and the new iCloud plugin!

The holiday season is upon us and once again the Corona engineering team is in a festive mood. This season they have been hard at work giving us some exciting new features and platforms to explore.

Read the full blog post here

This is great news, but cannot get it to work.

Keep getting plugin_iCloud not found.

I did shop it in the plugin store, and the status is activated.

Here is full error msg:

Module ‘plugin_iCloud’ not found:

no field package.preload[‘plugin_iCloud’]

no file ‘/Users/tommyhass/Library/Application Support/Corona/Simulator/Plugins/plugin_iCloud.lua’

no file ‘/Users/tommyhass/Dropbox/Corona/Projects/platform01/plugin_iCloud.lua’

no file ‘/Applications/CoronaSDK-2795/Corona Simulator.app/Contents/Resources/plugin_iCloud.lua’

no file ‘/Users/tommyhass/Library/Application Support/Corona/Simulator/Plugins/plugin_iCloud.dylib’

no file ‘./plugin_iCloud.dylib’

no file ‘/Applications/CoronaSDK-2795/Corona Simulator.app/Contents/Resources/plugin_iCloud.dylib’

File: module ‘plugin_iCloud’ not found

snip from build.settings

[lua]

[“plugin.iCloud”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { iphone=true, appletvos=true, [“iphone-sim”]=true, [“mac-sim”] = true },

        },

[/lua]

snippet from where i require (this is what triggers the error)

[lua]

local iCloud = require( “plugin.iCloud” )

[/lua]

Can you post your entire build.settings file?

Rob

Build.settings:

[lua]

  plugins =

  {

    [“plugin.iCloud”] =

    {

      publisherId = “com.coronalabs”,

      supportedPlatforms = { iphone=true, appletvos=true, [“iphone-sim”]=true, [“mac-sim”] = true },

    },

–[[

    [“CoronaProvider.ads.vungle”] =

    {

        publisherId = “com.vungle”,

        supportedPlatforms = { iphone=true, android=true, [“win32-sim”]=false },

    },

    [“plugin.google.play.services”] =

    {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { android=true, [“win32-sim”]=false },

    },

    [“plugin.google.iap.v3”] =

    {

        publisherId = “com.coronalabs”,

        supportedPlatforms = { android=true }

    },

    [“plugin.amazon.iap”] =

    {

        publisherId = “com.amazon”,

        supportedPlatforms = { [“android-kindle”]=true },

    },

    [“CoronaProvider.gameNetwork.apple”] =

    {

        publisherId = “com.coronalabs”,

        supportedPlatforms = { iphone=true, [“iphone-sim”]=true, [“win32-sim”]=false },

    },

    [“CoronaProvider.gameNetwork.google”] =

    {

        publisherId = “com.coronalabs”,

        supportedPlatforms = { android=true, [“win32-sim”]=false },

    },

    [“plugin.advertisingId”] =

    {

        publisherId = “com.coronalabs”,

        supportedPlatforms = { iphone=true, appletvos=false, [“iphone-sim”]=false, [“mac-sim”] = false },

    },

    [“plugin.notifications”] =

    {

        publisherId = “com.coronalabs”

    },

]]-- 

  },

[/lua]

Try commenting out the the supportedPlatforms line and see if that changes anything.

It works now, and i haven’t touched a thing.

Best guess is that the plugin was not ready on the build server yet.

Cheers

There is sometimes a delay between when you get the plugin in the store until the build server knows you have access to it.

I haven’t been able to determine a pattern with it yet.

Rob

This is great news, but cannot get it to work.

Keep getting plugin_iCloud not found.

I did shop it in the plugin store, and the status is activated.

Here is full error msg:

Module ‘plugin_iCloud’ not found:

no field package.preload[‘plugin_iCloud’]

no file ‘/Users/tommyhass/Library/Application Support/Corona/Simulator/Plugins/plugin_iCloud.lua’

no file ‘/Users/tommyhass/Dropbox/Corona/Projects/platform01/plugin_iCloud.lua’

no file ‘/Applications/CoronaSDK-2795/Corona Simulator.app/Contents/Resources/plugin_iCloud.lua’

no file ‘/Users/tommyhass/Library/Application Support/Corona/Simulator/Plugins/plugin_iCloud.dylib’

no file ‘./plugin_iCloud.dylib’

no file ‘/Applications/CoronaSDK-2795/Corona Simulator.app/Contents/Resources/plugin_iCloud.dylib’

File: module ‘plugin_iCloud’ not found

snip from build.settings

[lua]

[“plugin.iCloud”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { iphone=true, appletvos=true, [“iphone-sim”]=true, [“mac-sim”] = true },

        },

[/lua]

snippet from where i require (this is what triggers the error)

[lua]

local iCloud = require( “plugin.iCloud” )

[/lua]

Can you post your entire build.settings file?

Rob

Build.settings:

[lua]

  plugins =

  {

    [“plugin.iCloud”] =

    {

      publisherId = “com.coronalabs”,

      supportedPlatforms = { iphone=true, appletvos=true, [“iphone-sim”]=true, [“mac-sim”] = true },

    },

–[[

    [“CoronaProvider.ads.vungle”] =

    {

        publisherId = “com.vungle”,

        supportedPlatforms = { iphone=true, android=true, [“win32-sim”]=false },

    },

    [“plugin.google.play.services”] =

    {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { android=true, [“win32-sim”]=false },

    },

    [“plugin.google.iap.v3”] =

    {

        publisherId = “com.coronalabs”,

        supportedPlatforms = { android=true }

    },

    [“plugin.amazon.iap”] =

    {

        publisherId = “com.amazon”,

        supportedPlatforms = { [“android-kindle”]=true },

    },

    [“CoronaProvider.gameNetwork.apple”] =

    {

        publisherId = “com.coronalabs”,

        supportedPlatforms = { iphone=true, [“iphone-sim”]=true, [“win32-sim”]=false },

    },

    [“CoronaProvider.gameNetwork.google”] =

    {

        publisherId = “com.coronalabs”,

        supportedPlatforms = { android=true, [“win32-sim”]=false },

    },

    [“plugin.advertisingId”] =

    {

        publisherId = “com.coronalabs”,

        supportedPlatforms = { iphone=true, appletvos=false, [“iphone-sim”]=false, [“mac-sim”] = false },

    },

    [“plugin.notifications”] =

    {

        publisherId = “com.coronalabs”

    },

]]-- 

  },

[/lua]

Try commenting out the the supportedPlatforms line and see if that changes anything.

It works now, and i haven’t touched a thing.

Best guess is that the plugin was not ready on the build server yet.

Cheers

There is sometimes a delay between when you get the plugin in the store until the build server knows you have access to it.

I haven’t been able to determine a pattern with it yet.

Rob