-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No script URL provided. Make sure the packager is running or you have embedded a JS bundle in your application bundle. unsanitizedScriptURLString = (null) #49245
Comments
I just tried with these instructions:
This:
This works. So the problem is not in React Native, but in one of the tools you are using in your app. ![]() What are you using for development? Can you try to open an issue in the Reactatron repo, instead? |
@cipolleschi i know it work if i create a project from scratch. but i have a big application created already in react native 0.76.6, i upgrade it to 0.77.0. i remove AppDelegate.mm, AppDelegate.h and main.m and i replaced it by AppDelegate.swift (ios platform) as mention upgrade helper (https://react-native-community.github.io/upgrade-helper/) |
I am having the same problem with "react-native": "0.76.6" I don't fully understand the reason for the error, it sometimes occurs. To solve this, connect to the physical device with a cable and run "npx expo run ios --device " build again and you are at the place where you are installing it on my device. note: @TonyFTannous-Byd I don't think reactotron is the cause of this error because I can't use it from the app |
@gurbuzzomer |
Yes, that could be the case. As mentioned in the blogpost and in the documentation:
You need to keep the Objective-C++ App Delegate |
yes, and if you want to use swift file the problem is in DEBUG flag in AppDelegate.swift override func bundleURL() -> URL? { You should add Inside project.pbxproj in debug XCBuildConfiguration block Should look like this 83CBBA201A601CBA00E9B192 /* Debug / = { |
Description
I upgrade my react native app from 0.76.6 to 0.77.0. The build has successfully but i have the following error in ios platform (android go well)
No script URL provided. Make sure the packager is running or you have embedded a JS bundle in your application bundle.
unsanitizedScriptURLString = (null)
Steps to reproduce
No script URL provided. Make sure the packager is running or you have embedded a JS bundle in your application bundle.
unsanitizedScriptURLString = (null)
React Native Version
0.77.0
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/TonyFTannous-Byd/repo
Screenshots and Videos
The text was updated successfully, but these errors were encountered: