How to generate debut/release .ipa file via command line?

Hello,

I am an Android developer and it is easy for me to configure an Android project. Particularly, to have an apk for debug build and another for the release. Once it is done, Flutter lets me generate a debug/release apk file via the command line. So, I can pass the apk file to testers and then can install it on their devices easily in order to test the app.

However, this process is not that easy for me (and those how are not that familiar with iOS). The Flutter build ios (--debug) command won’t generate debug/release .ipa files. So, my question is does anyone know how to generate a debug and a release .ipa file via the command line?

I checked the website and didn’t find any video or article regarding my problem so it is good if we have one under the Flutter section.