[SOLVED] Build error on Win32 caused by plugin.reviewPopUp (even when set for iOS only)

This is a behavior that has been happening for a long time, and I don’t understand why. Every time I try to compile a project for win32, Solar2D shows the message Failed to compile plugin Lua scripts, and the console displays:

ERROR: Could not complete build because there were compile errors in Lua file: C:\Users\Acer\AppData\Local\Temp\Corona Labs\Win32 Build a26848\obj…\Plugins\PaxHeader\plugin_reviewPopUp.lua

Then, when I comment out the configuration lines for the plugin.reviewPopUp in build.settings, the project compiles without any problem. This happens even though I’ve set it to only load the plugin for iOS.

Could you take a look at this, @Scott_Harrison ?

My configuration on build.settings:

["plugin.reviewPopUp"] = {
    publisherId = "tech.scotth",
    marketplaceId = "myMarketplaceId",
    supportedPlatforms = { iphone=true, ["iphone-sim"] = true }
 },

I just pushed a fix for this, please delete the following folders to clear out cache and old files and relaunch

C:\Users\usernameHere\AppData\Roaming\Corona Labs\Corona Simulator\Plugins
(your case “C:\Users\Acer\AppData\Roaming\Corona Labs\Corona Simulator\Plugins”)

And
C:\Users\usernameHere\AppData\Roaming\Solar2DPlugins

The folders and all the data will be generated/redownloaded once your relaunch sim

once you relaunch your project, you should be able to build with no issue

thanks
Scott

1 Like

Thank you, I’ll try it and let you know the result.

UPDATE:
It works now! Thank you @Scott_Harrison