Reputation: 27713
I'm going by this information: https://facebook.github.io/react-native/docs/running-on-device-ios.html#content
I did the react-native bundle
command, changed AppDelegate.m
, and I can build with success. Though I'm not sure where it's putting the final build. Where is it putting the .app file, and when I want to copy that .app file to my phone, should I sync it via iTunes, or is there a quicker way?
Basically I'm just trying to create and deploy a standalone app that doesn't need the React packager server.
Upvotes: 20
Views: 22366
Reputation: 35890
I don't know if it is possible to sideload a built app into a phone via iTunes - but if it is possible, the steps to to achieve it would be the same as if you were to deploy a regular iOS app in the same way.
Typically you would deploy a standalone app to a device using TestFlight, via the regular app store submission process:
react-native bundle
Build Settings
tab. Bump Version and Build numbers under the General
tab.Generic iOS Device
(or any plugged in iDevice) as build target.Product > Archive
Window > Organizer
, choose your build and press Upload to App Store...
TestFlight
tab click Select Version to Test
(it might take a while for your new build be be available for testing).If this seems like a lot of hassle - it is. But going through this process is worth it, as it is the prerequisite to be able to submit the app for download in the App Store, and the sooner get this process in place, the easier it will be to release the app to the public.
Upvotes: 36