[build .2799] Problem with iCloud KVS, getting error "module 'plugin_iCloud' not found"

Here it is:

[lua]

– build.settings

– Apple iOS - Advertising Plug-ins

– NEW Requirement for Facebook Plug-in in iOS for builds #2165 and higher

– New Requirement for Notifications Plugin #2542 and higher

settings = {

orientation = {

default = “portrait”, 

content = “portrait”,

supported = { “portrait”},

},

plugins =

{

– key is the name passed to Lua’s ‘require()’

[“plugin.iCloud”] =

{

publisherId = “com.coronalabs”,

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

},

[“plugin.facebook.v4”] =

   {

    publisherId = “com.coronalabs”,

},

[“plugin.notifications”] =

{

   publisherId = “com.coronalabs”,

},

[“CoronaProvider.analytics.flurry”] =

{

   publisherId = “com.coronalabs”,

},

[“CoronaProvider.gameNetwork.apple”] =

{

   publisherId = “com.coronalabs”,

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

},

[“CoronaProvider.ads.iads”] =

{

   publisherId = “com.coronalabs”,

},

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

{

   – required, this is actually needed for AdMob V2 ads, also needed for vungle on Android

   publisherId = “com.coronalabs”,

},

[“CoronaProvider.ads.vungle”] =

{

   publisherId = “com.vungle”,

},

[“plugin.chartboost”] =

   {

           publisherId = “com.swipeware”

       },

},

iphone = {

iCloud = true,

plist = { 

– NEW App Requirement August 2014 for CFBundleShortVersionString - Match the version build in Corona

CFBundleShortVersionString = “1.80”,

   CFBundleIdentifier = “XXXXXXXXXXXXXXX”, 

   CFBundleDisplayName = “Just Jumble”,

UILaunchStoryboardName = “LaunchScreen”,

   UIInterfaceOrientation = “UIInterfaceOrientationPortrait”,

   UISupportedInterfaceOrientations = {“UIInterfaceOrientationPortrait”, “UIInterfaceOrientationPortraitUpsideDown”},

UIStatusBarHidden = true,

UIPrerenderedIcon = true,

UIApplicationExitsOnSuspend = false,

FacebookAppID = “XXXXXXXXXX1087”,

CFBundleURLTypes = {

                { CFBundleURLSchemes = {“fbXXXXXXXXX1087”, }  }

            },

UIAppFonts = {

“FranklinGothic-Demi.ttf”, “FranklinGothic-DemiItalic.ttf”,

},

–icon image files table

CFBundleIconFiles = {

“Icon.png”,

“Icon@2x.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-40.png”,

“Icon-Small-40@2x.png”,

“Icon-Small-40@3x.png”,

“Icon-Small-50.png”,

“Icon-Small-50@2x.png”,

“Icon-Small.png”,

“Icon-Small@2x.png”,

“Icon-Small@3x.png”,

},

–launch image files table

UILaunchImages = {

                {  – iPhone 4 Portrait

                    [“UILaunchImageMinimumOSVersion”] = “6.0”,

                    [“UILaunchImageName”] = “Default”,

                    [“UILaunchImageOrientation”] = “Portrait”,

                    [“UILaunchImageSize”] = “{320,480}”

                },

                {  – iPhone 5 Portrait

                    [“UILaunchImageMinimumOSVersion”] = “6.0”,

                    [“UILaunchImageName”] = “Default-568h”,

                    [“UILaunchImageOrientation”] = “Portrait”,

                    [“UILaunchImageSize”] = “{320,568}”

                },

{  – iPhone 6 Portrait

                    [“UILaunchImageMinimumOSVersion”] = “8.0”,

                    [“UILaunchImageName”] = “Default-667h”,

                    [“UILaunchImageOrientation”] = “Portrait”,

                    [“UILaunchImageSize”] = “{375,667}”

                },

                {  – iPhone 6 Plus Portrait

                    [“UILaunchImageMinimumOSVersion”] = “8.0”,

                    [“UILaunchImageName”] = “Default-736h”,

                    [“UILaunchImageOrientation”] = “Portrait”,

                    [“UILaunchImageSize”] = “{414,736}”

                },

                {  – iPad Portrait

                    [“UILaunchImageMinimumOSVersion”] = “6.0”,

                    [“UILaunchImageName”] = “Default-Portrait”,

                    [“UILaunchImageOrientation”] = “Portrait”,

                    [“UILaunchImageSize”] = “{768,1024}”

                },

                

            },

– Whitelist Facebook Servers for Network Requests (for Facebook and iOS 9 to run together)

            NSAppTransportSecurity = 

            {

                NSExceptionDomains = 

                {

                    [“fbcdn.net”] = 

                    {

                        NSIncludesSubdomains = true,

                        NSExceptionRequiresForwardSecrecy = false,

                    },

                    [“facebook.com”] = 

                    {

                        NSIncludesSubdomains = true,

                        NSExceptionRequiresForwardSecrecy = false,

                    },

                    [“akamaihd.net”] = 

                    {

                        NSIncludesSubdomains = true,

                        NSExceptionRequiresForwardSecrecy = false,

                    },

                },

            },

            – Whitelist Facebook Apps (for Facebook and iOS 9 to run together)

            LSApplicationQueriesSchemes = 

            {

                “fb”,

                “fbapi20130214”,

                “fbapi20130410”,

                “fbapi20140410”,

                “fbapi20140116”,

                “fbapi20150313”,

                “fbapi20150629”,

                “fbauth”,

                “fbauth2”,

                “fb-messenger-api20140430”,

            },

}

},

}

[/lua]

Try commenting out the supported platforms line at least temporarily. This will let the simulator download the stub that it needs to avoid the simulator error.

Rob

[quote name=“Rob Miracle” post=“315458” timestamp=“1451516780”]There are four reasons for this.   1. You have not activated the plugin at https://store.coronalabs.com (and make sure Corona SDK is using the same email address that yo used to activate the plugin) 2. You have not included it in build.settings. 3. You included it in build.settings but there is an error (which should be flagged by Corona!) 4. You didn’t include it in the module where you’re trying to access it.   But I would have expected you to have checked all of those things already. Can you verify all of those?[/quote] Hi Rob, Yes, I did set up everything correctly and double- and triple-checked it. Best Andreas