expo

Expo prebuild ios production build, unable to find or attach bundle


I am trying to build a production build of a expo ios application. I have successfully build and compiled and installed the application in my device using npx expo prebuild --platform ios, but I am getting the following error in the ios device:

No script URL provided, Make sure the package manager is running or you have embedded a js bundle in your application bundle

unsaintizedScriptURLString = (null)

How can I solve this? I did npx expo export -p ios, but there is no *.bundle file in the dist directory.

I do not want use eas. Any suggestions?


Solution

  • There's an issue with building locally with expo.

    I used npx expo prebuild to generate the ios folder and then followed the instructions here:
    https://reactnative.dev/docs/publishing-to-app-store

    This work well!