How to build React Native iOS app, get an .app file and deploy to device?
I’m going by this information:
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.
- React Native iOS Native View send event with proper reactTag
- React-Native iOS accessibilityViewIsModal property doesn't work
- React-native loading image over https works while http does not work
- How do I inspect network traffic on a react native app on iOS?
- “RCTBundleURLProvider.h” file not found - AppDelegate.m
- How can I regenerate ios folder in React Native project?
Solutions Collect From Internet About “How to build React Native iOS app, get an .app file and deploy to device?”
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:
- Log into Apple Developer Member Center with the Apple ID tied to your developer account (or register for a new developer account)
- Generate provisioning profiles for Ad-Hoc deployment and App Store deployment
- Download and install the provisioning profiles by double clicking them in OSX finder.
- In Xcode project properties select your App Store distribution profile under the
Build Settingstab. Bump Version and Build numbers under the
- In the top of the screen, select your production build scheme, and
Generic iOS Device(or any plugged in iDevice) as build target.
Product > Archive
Window > Organizer, choose your build and press
Upload to App Store...
- Log in to iTunes Connect with your developer account, and under
Select Version to Test(it might take a while for your new build be be available for testing).
- Wait for Apple to approve your app for testing (Internal Testing apps should be quick, External Testing apps need to go through a lightweight approval process).
- Once app is approved for TestFlight testing, copy the link to your test app and follow the given instructions.
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.
- Nil NSDate when trying to get date from UTC string in zulu time
- iOS Different Font Sizes within Single Size Class for Different Devices
- How to get the nearest area from a list of locations?
- Set checkmark in UITableView
- Login Logout issue with facebook iOS sdk
- What is '@_silgen_name' in Swift language?
- how to move background images continously cocos2d
- iOS 10 UILabels -> 1 UIView -> Loop through with Animation
- Parse HTML in objective C
- What are the differences between a UIView and a CALayer?
- Swift 2 – Xcode 7.0 Cannot Access HTTPS site with unstrusted SSL Certificate
- Swift: Optional Text In Optional Value
- Two Dimension NSMutableArray help?
- Figure out size of UILabel based on String in Swift
- how to cache a whole web page with images in iOS