Plugin.iap_badger not found iOS

So create a simple project with these plugins in the build.settings:

["plugin.iap\_badger"] = { -- required publisherId = "uk.co.happymongoose", supportedPlatforms = { iphone=true, android=true } }, ["plugin.amazon.iap"] = { -- required publisherId = "com.coronalabs", supportedPlatforms = { ["android-kindle"] = true }, }, ["plugin.google.iap.v3"] = { -- required publisherId = "com.coronalabs", supportedPlatforms = { android = true }, },

In main.lua:

local inAppPurchase = require("plugin.iap\_badger")

Build for ios, run app and I get a runtime error module plugin.iap_badger not found 

Assume its something to do with the general build problems that are going on at the moment

Can you post the complete error message?

What plataform are you building for?

What version of Corona SDK are you using?

Thanks

Rob

Hi Rob

Screenshot attached, its a device error just like when you do a require on a plugin you did not include

3023, iOS

Cheers

It’s always better to copy/paste the message from the console log. I can’t exactly share the text of the screen shot with our engineers.

Rob

Typical engineers, telling you they cant read text in images :smiley:

Try them with this then:

ERROR: Runtime error module 'plugin.iap\_badger' not found:resource (plugin.iap\_badger.lu) does not exist in archive no field package.preload['plugin.iap\_badger'] no file '/var/containers/Bundle/Application/884B23CE-9138-4445-93FE-21C267D4DFC6/Plugins.app/plugin/iap\_badger.lua' no file '/var/containers/Bundle/Application/884B23CE-9138-4445-93FE-21C267D4DFC6/Plugins.app/plugin/iap\_badger.lua' no file './plugin/iap\_badger.so' no file '/var/containers/Bundle/Application/884B23CE-9138-4445-93FE-21C267D4DFC6/Plugins.app/plugin/iap\_badger.so' no file './plugin.so' no file '/var/containers/Bundle/Application/884B23CE-9138-4445-93FE-21C267D4DFC6/Plugins.app/plugin.so'plugin.iap\_badger stack traceback: [C]: in function 'require' ?: in function 'require' /Users/philsmith/Dev/App Family/Plugins/main.lua:9: in main chunk Jan 13 17:52:37 Phils-iPhone Plugins[1083] \<Notice\>: Runtime Error: Runtime error: module 'plugin.iap\_badger' not found:resource (plugin.iap\_badger.lu) does not exist in archive no field package.preload['plugin.iap\_badger'] no file '/var/containers/Bundle/Application/884B23CE-9138-4445-93FE-21C267D4DFC6/Plugins.app/plugin/iap\_badger.lua' no file '/var/containers/Bundle/Application/884B23CE-9138-4445-93FE-21C267D4DFC6/Plugins.app/plugin/iap\_badger.lua' no file './plugin/iap\_badger.so' no file '/var/containers/Bundle/Application/884B23CE-9138-4445-93FE-21C267D4DFC6/Plugins.app/plugin/iap\_badger.so' no file './plugin.so' no file '/var/containers/Bundle/Application/884B23CE-9138-4445-93FE-21C267D4DFC6/Plugins.app/plugin.so'plugin.iap\_badger

Seems to have been fixed now, thanks.