My React Native version for the project is 0.74 and I get this error "No bundle URL present" when I try to deploy the app on my iPhone. I have the metro bundler running in another terminal. I have tried debugging wirelessly and using USB cable. Both don't work. The app gets deployed and works fine in simulators but displays this error in iPhone. I tried updating everything to the latest version - Xcode, MacOS, iPhone but to no luck.
Error screenshot
My React Native version for the project is 0.74 and I get this error "No bundle URL present" when I try to deploy the app on my iPhone. I have the metro bundler running in another terminal. I have tried debugging wirelessly and using USB cable. Both don't work. The app gets deployed and works fine in simulators but displays this error in iPhone. I tried updating everything to the latest version - Xcode, MacOS, iPhone but to no luck.
Error screenshot
Share Improve this question edited Mar 23 at 5:02 Yashwanth Aras JV asked Mar 23 at 4:59 Yashwanth Aras JVYashwanth Aras JV 12 bronze badges1 Answer
Reset to default 0Generally this means that your app doesn't find the metro server, Make sure the device and the machine running the metro server are on the same network.
If you are connected to the same wifi and it still happens try deleting the app from the iPhone and reseting the cache of Metro with the flag --reset-cache
when running yarn start
or npm start
.