Activity popup causing me build problems.

Hello,

I am trying to build a project but it is failing. The project has the “CoronaProvider.native.popup.activity” in the build settings. If I remove that from the settings the build is successful.

The log for the failed build is here if anyone can have a look at it please:

https://pastebin.com/1mEfVTdL

Also, after the build fails (or succeeds), the simulator is stuck, with “Build Progress” showing “Packaging App…”. If I click on the stop button, it changes to “Stopping build” but it is stuck there and I can’t use the simulator or close it. The only way is to force shut it from the task manager.

The Activity popup si for iOS only Android should not be trying to build this. Can you post your build.settings?

It might be useful to add the supportedPlatforms={“iphone”} to that entry in your build.settings.

Build settings:

https://pastebin.com/5YZ8pShp

Adding the supportedPlatforms field worked and the build was successful, but now the app crashes with a runtime error:

module ‘CoronaProvider.native.popup.activity’ not found.

in my code I have:

local activity = require( "CoronaProvider.native.popup.activity" )

I solved it by checking the platform and conditionally calling that only on iOS.

Thanks Rob.

The Activity popup si for iOS only Android should not be trying to build this. Can you post your build.settings?

It might be useful to add the supportedPlatforms={“iphone”} to that entry in your build.settings.

Build settings:

https://pastebin.com/5YZ8pShp

Adding the supportedPlatforms field worked and the build was successful, but now the app crashes with a runtime error:

module ‘CoronaProvider.native.popup.activity’ not found.

in my code I have:

local activity = require( "CoronaProvider.native.popup.activity" )

I solved it by checking the platform and conditionally calling that only on iOS.

Thanks Rob.