Building for release to target published Expo JS bundle

I have a project that I’m ejecting and then building with XCode, but I don’t seem to be able to get the ejected project to pull Javascript from the published version of the project – it’s always trying to read from localhost. I’ve read this which says that “Your ExpoKit project is configured to load your app’s published url when you build it for release,” but it’s not clear to me how to build an ExpoKit binary for release as opposed to development.

Hey @theorchard,

In Xcode you’ll want to go under the Product tab, select Scheme and then edit scheme. There you’ll be able to switch build configurations between debug and release.



1 Like

Happy to help!

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.