最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

ios - "No bundle URL present" in iPhone device - Stack Overflow

programmeradmin6浏览0评论

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

Generally 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.

发布评论

评论列表(0)

  1. 暂无评论