You’ll want to make sure that you’ve published your JS bundle so that your production build has a package being served from the productionURL. You can do so in XDE by simply pressing the publish button near the top-right or using the exp publish command with the exp CLI.
In order to create an IPA you can upload to Itunes Connect or App Loader, go under Product in Xcode and select Build Archive.