Skip to content
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 bundle URL present. Make sure you're running a packager server or have included a .jsbundle file in your application bundle. #1353

Open
LukasB-DEV opened this issue Sep 10, 2024 · 6 comments

Comments

@LukasB-DEV
Copy link

LukasB-DEV commented Sep 10, 2024

Description

I Upgraded my React Native Projekt from 0.74.5 to 0.75.2 and now I am not able to run the App on a real IOS Device. In Simulator all works fine. On my IPhone, build with XCode, I get this error:
image

I already tried things from facebook/react-native#26331 (comment) and added the Build step but this has not worked for me.

Steps to reproduce

  1. Install React Native 0.74.5
  2. Upgrade it to 0.75.2
  3. try to run it on reals iPhone with XCode

React Native Version

0.75.2

Affected Platforms

Runtime - iOS

Output of npx react-native info

System:
  OS: macOS 14.5
  CPU: "(8) x64 AMD Ryzen 7 5700X 8-Core Processor             "
  Memory: 798.54 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.17.0
    path: /usr/local/opt/node@20/bin/node
  Yarn: Not Found
  npm:
    version: 10.8.2
    path: /usr/local/opt/node@20/bin/npm
  Watchman:
    version: 2024.08.26.00
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.5
      - iOS 17.5
      - macOS 14.5
      - tvOS 17.5
      - visionOS 1.2
      - watchOS 10.5
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.1 AI-241.18034.62.2412.12266719
  Xcode:
    version: 15.4/15F31d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.12
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.75.2
    wanted: 0.75.2
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs

No bundle URL present.

Make sure you're running a packager server or have included a .jsbundle file in your application bundle.

Reproducer

Repro

Screenshots and Videos

No response

@react-native-bot
Copy link

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

@react-native-bot
Copy link

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:

@cipolleschi
Copy link

Thanks @LukasB-DEV for opening the issue. Just to make sure: Metro is running, right?

@LukasB-DEV
Copy link
Author

Yes Metro is running. I first start metro with "npm start" and that build with XCode

@cipolleschi
Copy link

cipolleschi commented Sep 11, 2024

Ok, then this is something we have to investigate. Thanks for reporting this!
QQ: are you behind a VPN, perhaps? Make sure that the device and the metro bundler are on the same network!

@cortinico cortinico transferred this issue from facebook/react-native Sep 12, 2024
@cortinico
Copy link

Passing over to the Metro team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants