1.
If anyone wants to improve on these instructions and add them to the docs, feel free, I can do it later if nobody else jum PS on It-i just wanted to document it somewhere for now. Open ios/appdelegate.mcomment out jscodelocation = [Nsurl urlwithstring:@ "Http://localhost:8081/index.ios.bundle"]; Uncomment jscodelocation = [[NSBundle Mainbundle] urlforresource:@ "main" withextension:@ "Jsbundle"]; Start up the packager with NPM start and then run Curl Http://localhost:8081/index.ios.bundle-o main.jsbundle-if this F Ails (as it did on my machine) add the--IPV4 flag to the end of it. In XCode, right click on your project directory and click Add Files to "project Name here"-Choose the Main.jsbundle file That's you generated. You can now run the app on a device (either via USB or TestFlight) without needing to has a server running.
Cited from https://github.com/facebook/react-native/issues/240#issuecomment-86977126
React Native Note