Issue with appodeal plugin on iOS build

Hello. I followed the guide for provisioning and building for iOS, and I successfully installed my game on my device. However, upon launch, I get the following error:

module ‘plugin.appodeal’ not found:resource (plugin.appodeal.lu) does not exist in archive no field package.preload[‘plugin.appodeal’]

and on in it goes for a while. It seems like the appodeal plugin was not properly bundled in the app during the build, but I don’t know for sure. How should I go about addressing this issue? Please let me know if you need more info.

Thanks in advance for your help!

Can you post your build setting file?

Here’s the build.settings file:

settings = { orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", }, }, -- -- Android section -- android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.WRITE\_EXTERNAL\_STORAGE", --"com.android.vending.BILLING" }, }, -- -- iOS section -- iphone = { plist = { NSAppTransportSecurity = { NSAllowsArbitraryLoads=true }, UIStatusBarHidden = false, UILaunchStoryboardName = "LaunchScreen", CFBundleIconFiles = { "Icon-40.png", "Icon-58.png", "Icon-76.png", "Icon-80.png", "Icon-87.png", "Icon-120.png", "Icon-152.png", "Icon-167.png", "Icon-180.png", }, }, }, -- -- Plugins section -- plugins = { ["plugin.appodeal"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, -- ["plugin.google.iap.v3"] = -- { -- publisherId = "com.coronalabs" -- }, }, -- -- Project section -- excludeFiles = { -- Exclude unnecessary files for each platform ios = { "Icon.png", "Icon-\*dpi.png", }, android = { "Icon.png", "Icon-??.png", "Icon-???.png", "LaunchScreen.storyboardc", }, all = {"tmxFiles/", "tmxFiles/\*", "TODO", ".CoronaLiveBuild", "Assets/devStuff", "scenes/editPhysics(legacy).lua", "tmxFiles/level\*.tmx"} }, }

Oh wait. I just noticed the line that says:

supportedPlatforms = { android=true } 

Let me try commenting it out and rebuilding real quick.

Yep, commenting out that line fixed it. Thanks for your help!

Glad you figured it out.

Can you post your build setting file?

Here’s the build.settings file:

settings = { orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", }, }, -- -- Android section -- android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.WRITE\_EXTERNAL\_STORAGE", --"com.android.vending.BILLING" }, }, -- -- iOS section -- iphone = { plist = { NSAppTransportSecurity = { NSAllowsArbitraryLoads=true }, UIStatusBarHidden = false, UILaunchStoryboardName = "LaunchScreen", CFBundleIconFiles = { "Icon-40.png", "Icon-58.png", "Icon-76.png", "Icon-80.png", "Icon-87.png", "Icon-120.png", "Icon-152.png", "Icon-167.png", "Icon-180.png", }, }, }, -- -- Plugins section -- plugins = { ["plugin.appodeal"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, -- ["plugin.google.iap.v3"] = -- { -- publisherId = "com.coronalabs" -- }, }, -- -- Project section -- excludeFiles = { -- Exclude unnecessary files for each platform ios = { "Icon.png", "Icon-\*dpi.png", }, android = { "Icon.png", "Icon-??.png", "Icon-???.png", "LaunchScreen.storyboardc", }, all = {"tmxFiles/", "tmxFiles/\*", "TODO", ".CoronaLiveBuild", "Assets/devStuff", "scenes/editPhysics(legacy).lua", "tmxFiles/level\*.tmx"} }, }

Oh wait. I just noticed the line that says:

supportedPlatforms = { android=true } 

Let me try commenting it out and rebuilding real quick.

Yep, commenting out that line fixed it. Thanks for your help!

Glad you figured it out.