

You can now press the Build and run button ( ⌘R) or select Run from the Product menu. If everything is set up correctly, your device will be listed as the build target in the Xcode toolbar, and it will also appear in the Devices pane ( ⇧⌘2). Repeat this step for the Tests target in your project. Do the same for the tests target (it ends with Tests, and is below your main target). Go to "Signing" and make sure your Apple developer account or team is selected under the Team dropdown. Select your project in the Xcode Project Navigator, then select your main target (it should share the same name as your project). Register for an Apple developer account if you don't have one yet. Xcode will then register your device for development. Look for and select your device from the list. Open the Product menu from Xcode's menubar, then go to Destination. If this is your first time running an app on your iOS device, you may need to register your device for development. xcodeproj file, or if you are using CocoaPods open. Navigate to the ios folder in your project, then open the. Open a terminal and type /sbin/ifconfig to find your machine's IP address.Ĭonnect your iOS device to your Mac using a USB to Lightning cable. Open the command prompt and type ipconfig to find your machine's IP address ( more info).

Follow the guide for generating a signed APK to learn more. The process is the same as any other native Android app, with some additional considerations to take into account. You have built a great app using React Native, and you are now itching to release it in the Play Store. Your app will reload whenever your JavaScript code has changed. You can now enable Live reloading from the Developer menu.
