I have been battling with building a production copy of my custom moodle APP, I followed all the instructions here: https://docs.moodle.org/dev/Setting_up_your_development_environment_for_Moodle_Mobile_2
This is not my first time building and publishing custom Moodle APP to various app stores, but this is the first time with the latest version. whenever I run the build command to prod, it produces the attached error: Android and iOS.
However, if I run ionic cordova build, it build the debug version for Android and iOS perfectly without error.
I have been on this for about 3 days now, I have checked online resources and did not find anyone addressing the issue.
Anyone with a similar issue or have fixed the issue should help.