Ionic React App not working on iOS device but works on simulator

Ionic React App does not work (not work as in can launch the app but shows only black screen) on iOS device (tried with 2 devices) but works perfectly fine on simulator with live reload.

Also, when I Archive the app and upload it to App Store Connect and install from there using TestFlight, the app does not work (same situation as above).

Any help would be appreciated. Thank you.

I think it’s better to ask professionals about such a problem. Here is where you can hire a professional software developer in Ukraine to solve your tasks.