All click events go to a single method only on iOS production

Hi,

I have a very strange problem that occurs only on iOS build in production mode. The first page a user sees has a slides component with three buttons (login, register, languages) that should change to a different slide respectively. For some reason all the buttons in the first slide trigger the languages button method.

Can anyone explain this phenomenon?

PS.
I suspect the “cordova-plugin-add-swift-support” plugin, because it was upgraded by ionic/cordova after our last working version. I can’t test other versions of this plugin because ionic or cordova keeps upgrading it to ^1.7.1, and I don’t know how to stop this automatic upgrade.

Thanks