"No bundle url present", xcode with phsyical IPad

I am patching dependencies on a a published React native application. I want to test the updated app before republishing it, by running it on the company IPad via xcode as I always do.

The issue I am facing since upgrading to xcode 15: When I run my app via xcode, it builds successfully, then installs and launches on my Ipad, at this point it shows the red error "No bundle url present".

Things I have tried already:

  • made sure nothing is running port 8018
  • running the app on a different port (8028)
  • deleted the ios/build file
  • configured the info.plist correctly
  • verified the metro bundler is working by launching it and visiting localhost in my macs browser.
  • cleaned the build folder in xcode
  • deleted the xcode derived data and restarted xcode.
  • generating a main.jsbundle file via terminal (works in part but I believe it's a workaround not the correct solution) as previously I haven't had to do this and it was handled by xcode.

Thank you for reading.

This is a question entirely to do with React Native and nothing to do with iOS/Swift etc. and therefore is not an appropriate forum. Stackoverflow would be better. You could try adding the following to the Bundle React Native build phase to see if that works:

 if [ -d "/opt/homebrew/bin" ] && [ -x "/opt/homebrew/bin" ]; then
    export PATH="$PATH:/opt/homebrew/bin"
fi
"No bundle url present", xcode with phsyical IPad
 
 
Q