Daily Build 1151 & 1152 [Resolved] - iOS device build error when gameNetwork.google plugin is being fetched, and iAds plugin issue

I’m running into the same issue with iAds!  I’ve tried build 1152 and 1154. I even tried dropping back to 1144…  

File: module ‘CoronaProvider_ads_iads’ not found

Module ‘CoronaProvider_ads_iads’ not found:resource (CoronaProvider_ads_iads.lu) does not exist in archive

    no field package.preload[‘CoronaProvider_ads_iads’]

    no file ‘/Users/adamprice/Library/Application Support/Corona/Simulator/Plugins/CoronaProvider_ads_iads.lua’

    no file ‘/Users/adamprice/Documents/Programming/Dragon Sudoku/CoronaProvider_ads_iads.lua’

    no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/CoronaProvider_ads_iads.lua’

    no file ‘/Users/adamprice/Library/Application Support/Corona/Simulator/Plugins/CoronaProvider_ads_iads.dylib’

    no file ‘./CoronaProvider_ads_iads.dylib’

    no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/CoronaProvider_ads_iads.dylib’

Thank you,

Adam

Hey, Adam @priceadb, did you include the plugin requirement in build.settings as @albert90 suggested above?  As soon as I added it to the build.settings, the iAds issue went away for me.

Naomi

Hi @Naomi, yes, I do have that in my build.settings and I still receive the error.  

@albert90, any other suggestions?

Thanks,

Adam

Can you post your build.settings? 

Hey, Adam @priceadb, it may not help but just in case, do you mind closing Corona SDK and relaunching it?  If it doesn’t fix the issue, perhaps, restart your computer, relaunch Corona SDK and see if it fixes it.

Naomi

@Naomi, I’ve rebooted and still get the issue.

Rob, Here is my build.settings.

settings = 

{

    ipad =

    {

        plist =

        {

             CFBundleIconFile = “Icon.png”,

             CFBundleIconFiles = {

                    “Icon.png” , 

                    “Icon@2x.png” , 

                    “Icon-72.png” , 

                    “Icon-144.png” , 

             UIPrerenderedIcon = true, 

             },

             UISupportedInterfaceOrientations = {

                “UIInterfaceOrientationPortrait”

             },

             UIInterfaceOrientation = {

                “UIInterfaceOrientationPortrait”

             }

        },

    },

    iphone =

    {

        plist =

        {

             CFBundleIconFile = “Icon.png”,

             CFBundleIconFiles = {

                    “Icon.png” , 

                    “Icon@2x.png” , 

                    “Icon-72.png” , 

                    “Icon-144.png” , 

             UIPrerenderedIcon = true, 

             },

             UISupportedInterfaceOrientations = {

                “UIInterfaceOrientationPortrait”

             },

             UIInterfaceOrientation = {

                “UIInterfaceOrientationPortrait”

             }

        },

    },

    plugins =

    {

        [“CoronaProvider.ads.iads”] =

        {

            – required

            publisherId = “com.coronalabs”,

        },

    },  

}

The “iPad =” setting is not valid in build.settings. The “iPhone =” setting is for iOS in general. It applies to both iPhone and iPad. The other option is “android”

@Tom, that’s good to know.  I had copied that “iPad” section from an example on the site, but I’ve now removed it and still receive the same error.  Any other ideas on getting the iAds working?

Can anyone help me with this problem?  I’m currently running build 1152 and I still get the error below when trying to incorporate iAds…

Module ‘CoronaProvider_ads_iads’ not found:resource (CoronaProvider_ads_iads.lu) does not exist in archive

    no field package.preload[‘CoronaProvider_ads_iads’]

    no file ‘/Users/adamprice/Library/Application Support/Corona/Simulator/Plugins/CoronaProvider_ads_iads.lua’

    no file ‘/Users/adamprice/Documents/Programming/Dragon Sudoku/CoronaProvider_ads_iads.lua’

    no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/CoronaProvider_ads_iads.lua’

    no file ‘/Users/adamprice/Library/Application Support/Corona/Simulator/Plugins/CoronaProvider_ads_iads.dylib’

    no file ‘./CoronaProvider_ads_iads.dylib’

    no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/CoronaProvider_ads_iads.dylib’

Have you tried Uninstalling? Have you tried the sample app? You are building for iOS right?

Ok, uninstalling worked.  Thank you.

Was the gameNetwork issue ever fixed?  I am still having trouble building for iOS if I have CoronaProvider.gameNetwork.google in my build.settings.  Commenting it out works.

Try adding this line:

             supportedPlatforms = { android = true },

after these lines:

             – required
             publisherId = “com.coronalabs”,

Rob.  Thanks!  That did the trick.

Was the gameNetwork issue ever fixed?  I am still having trouble building for iOS if I have CoronaProvider.gameNetwork.google in my build.settings.  Commenting it out works.

Try adding this line:

             supportedPlatforms = { android = true },

after these lines:

             – required
             publisherId = “com.coronalabs”,

Rob.  Thanks!  That did the trick.