Cannot load iAd module

I am getting the following error.

ERROR: Could not load provider (iAds) due to the following reason: module ‘CoronaProvider.ads.iAds’ not found:resource (CoronaProvider.ads.iAds.lu) does not exist in archive

no field package.preload[‘CoronaProvider.ads.iAds’]

The following has been added to my build settings

   plugins =

    {

        

        [“CoronaProvider.ads.admob”] =

        {

            – required

            publisherId = “com.coronalabs”,

        },

        

        [“CoronaProvider.ads.iads”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = {iphone=true},

        },

    },

Corona Build: #2370

Kindly advise.

Hi @Falcon777,

Are you getting this error report in the Corona Simulator, or on device? If on the Simulator, try adding [“iphone-sim”]=true to your supportedPlatforms table as shown here:

http://docs.coronalabs.com/plugin/ads-iads/index.html

Best regards,

Brent

It happened on device.

Thanks for the update @Falcon777,

Does the same error show up if you test in an earlier build, including the most recent public #2189?

I added **“iphone-sim”]=true **and tested on simulator.  Still having the same issue.  I am downloading the public build now to try it out.

Tested on the public build.  Still the same issue.

Finally fixed the issue.

The correct way to switch to iAds network is 

ads:setCurrentProvider( “iads” )

and not 

ads:setCurrentProvider( “iAds” )

as specified in the tutorial article here -> http://coronalabs.com/blog/2013/11/19/tutorial-using-multiple-ad-networks/

Hi @Falcon777,

Are you getting this error report in the Corona Simulator, or on device? If on the Simulator, try adding [“iphone-sim”]=true to your supportedPlatforms table as shown here:

http://docs.coronalabs.com/plugin/ads-iads/index.html

Best regards,

Brent

It happened on device.

Thanks for the update @Falcon777,

Does the same error show up if you test in an earlier build, including the most recent public #2189?

I added **“iphone-sim”]=true **and tested on simulator.  Still having the same issue.  I am downloading the public build now to try it out.

Tested on the public build.  Still the same issue.

Finally fixed the issue.

The correct way to switch to iAds network is 

ads:setCurrentProvider( “iads” )

and not 

ads:setCurrentProvider( “iAds” )

as specified in the tutorial article here -> http://coronalabs.com/blog/2013/11/19/tutorial-using-multiple-ad-networks/