Solution 1: Disable WiFi on your iPhone or just make sure your phone and your computer are not on the same WiFi network.
Solution 2. Launch the application on the device using the Static Js package. To build a static package, follow these instructions to run on the device through a static package
Cause. This is because when your phone and PC are on the same WiFi network, the application on the phone tries to connect to the application development server to download the latest Js package, but when it could not connect to the development server or might not receive the latest Js package, after which the application crashes. Turning off Wi-Fi or changing the Wi-Fi network forces the application to download the pre-build package and prevents the application from crashing.
source share