React Native: How to fixed No bundle URL present

AppSolution · 30K views · 2019 · 3:25

Open on YouTube

Web developmentTesting, debugging & developer toolstutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering or reporting the iOS "No bundle URL present" error in React Native, as a quick step-by-step fix.

Recommended by 1 people across 1 different months, 2020 to 2022.

What it is

A short screen-recorded tutorial from the AppSolution channel showing how to fix the React Native iOS error "No bundle URL present". It walks through deleting main.jsbundle and regenerating it with the react-native bundle command.

What people said

Recommends Hamed Kharazmi · 2020-08 · Stack Overflow · on “What is the meaning of 'No bundle URL present' in react-native?”

following these steps: open ios file project with xcode in project bundle delete main.jsbundle file add new empty file by main.jsbundle name Run comment: react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios now react-native run-ios youtube link: [this video]

Cites Max Kelly · 2020-09 · Stack Overflow · on “React Native - iOS and App Center Deployment build failed from main.jsbundle”

Firstly thank you for taking the time to help me find a result. Just a bit of background on what I've done so you know what angles I've taken. React - "react-native": "0.62.2" I'm using App center to deploy my iOS app (this is where the issue lies), I have three schemes for iOS Dev, Beta, Prod (each building fine in xCode), I'm using Code push as well, App has been on Test flight working fine for a week I encountered a build issue "no URL bundle present" when running locally both in debug and in release. However I found a solution for that here: [this video] which works great. I added the main.jsbundle into build phases >> Copy bundle resources as well which fixed the issue occurring during relea

Cites Demo In · 2022-03 · Stack Overflow · on “React Native app isn't refreshing after any changes in ios simulator”

I am building an app fo ios but when I change some code it doesn't reflect in simulator. First I am getting error of "No bundler URL found" and I solved it by following instruction given in this video [this video] , and after that hot reloading is stopped. I can't even open the debugger menu on simulator by CMD+d. When I reopen the app after "yarn react-native start" I can't see a loading process. NOTE: I wrote "--dev true" in the command give in the video because I found that "--dev false" is not for developer mode. Any help will be appreciated. ENVIRONMENT: MacOS, "react-native": "^0.66.3", Xcode: 12.4