How to build detached app for release (iOS)?

I have a detached project, it is working with local dev server but I want the app to point to the published js bundle. When I terminate the local server, it gives an error “There was a problem loading the experience. http://localhost:80 Error while loading: Could not connect to the server (code -1004)”.

How can I make my app point to the published url? (the one in EXShell.plist → manifestUrl)

Update: Now I am getting “There was a problem loading the app. Make sure you’re connected to the internet and retry.” “No cache exists for this resource: kernel.ios.bundle”

Note: i had to detach because I was not able to build with exp build:ios, I am using expo 20.0.0

1 Like