1--- 2title: Create a development build 3description: Learn how to create development builds for a project. 4sidebar_title: Create a build 5--- 6 7import { Terminal } from '~/ui/components/Snippet'; 8import { Tab, Tabs } from '~/ui/components/Tabs'; 9import { BoxLink } from '~/ui/components/BoxLink'; 10import { Step } from '~/ui/components/Step'; 11import ImageSpotlight from '~/components/plugins/ImageSpotlight'; 12import Video from '~/components/plugins/Video'; 13 14Development builds can be created with [EAS Build](/build/introduction/) or [locally](/develop/development-builds/development-workflows/#build-locally-with-android-studio-and-xcode) on your computer if you have Android Studio and Xcode installed. 15 16<Video url="https://www.youtube.com/embed/LUFHXsBcW6w" /> 17 18In this guide, you'll find information on how to create a development build and then install them on an emulator/simulator or a physical device to continue developing your app. 19 20<Step label="1"> 21 22## Initialize EAS Build 23 24We recommend EAS Build to manage your native projects. It allows a smooth experience, especially if you do not have experience with Xcode and Android studio builds or do not have them installed locally on your computer. 25 26EAS Build is created by running the `eas build` command. It also creates an [**eas.json**](/build/eas-json/) file at the root of your project directory with three build profiles automatically: `development`, `preview` and `production`. A minimal configuration is shown below: 27 28```json eas.json 29{ 30 "build": { 31 "development": { 32 "developmentClient": true, 33 "distribution": "internal" 34 }, 35 "preview": { 36 "distribution": "internal" 37 }, 38 "production": {} 39 } 40} 41``` 42 43The `development` profile sets the following options: 44 45- [`developmentClient`](/build-reference/eas-json/#developmentclient) to `true` to create a Debug build. This allows the `expo-dev-client` library to choose the update to load in your app and provide tools to help you develop it. It also generates a build artifact that you can install on a device or emulator/simulator. 46- [`distribution`](/build-reference/eas-json/#distribution) to `internal` makes the build ready for [internal distribution](/build/internal-distribution/). 47 48> iOS builds where `developmentClient` is set to `true` on the build profile should always be distributed as `internal`. If you are distributing for TestFlight, you have to set the distribution to `store`. 49 50</Step> 51 52<Step label="2"> 53 54## Create a build for emulator/simulator 55 56Follow the steps below to create and install the development build on an Android Emulator or an iOS Simulator. 57 58> This is only required if you want to develop a project on an emulator/simulator. Otherwise, skip these steps if you are using a device. 59 60Each platform has specific instructions you'll have to follow: 61 62<Tabs tabs={["For Android Emulator", "For iOS Simulator"]}> 63 64<Tab> 65 66To create and install the development build on an Android Emulator, you will need an **.apk**. To create it, run the following command: 67 68<Terminal cmd={['$ eas build --profile development --platform android']} /> 69 70After the build is complete, the CLI will prompt you to automatically download and install it on the Android Emulator. When prompted, press <kbd>Y</kbd> to directly install it on the emulator. 71 72See [Build APKs for Android Emulators and devices](/build-reference/apk/#installing-your-build) for more information. 73 74</Tab> 75 76<Tab> 77 78To create and install a development build on an iOS Simulator, we recommend you create a separate [build profile](/build/eas-json/#build-profiles) for the simulator and then set the `ios.simulator` option to `true` in the **eas.json**. 79 80For example, the `development-simulator` profile below is only for creating a development build for iOS Simulator: 81 82```json eas.json 83{ 84 "build": { 85 "development-simulator": { 86 "developmentClient": true, 87 "distribution": "internal", 88 "ios": { 89 "simulator": true 90 } 91 } 92 } 93} 94``` 95 96Then, run the following command to create the development build on an iOS Simulator: 97 98<Terminal cmd={['$ eas build --profile development-simulator --platform ios']} /> 99 100After the build is complete, the CLI will prompt you to automatically download and install the it on the iOS Simulator. When prompted, press <kbd>Y</kbd> to directly install it on the simulator. 101 102See [Installing build on the simulator](/build-reference/simulators/#installing-build-on-the-simulator) for more information. 103 104</Tab> 105 106</Tabs> 107 108</Step> 109 110<Step label="3"> 111 112## Create a build for the device 113 114Follow the steps below to create and install the development build on an Android or an iOS device. Each platform has specific instructions you'll have to follow: 115 116<Tabs tabs={["For Android device", "For iOS device"]}> 117 118<Tab> 119 120> If you have created a development build for Android Emulator, you do not need to create it separately for the device. You can skip this step since the same **.apk** will work in both scenarios. 121 122To create and install the development build on an Android device, you will need a **.apk**. To create it, run the following command: 123 124<Terminal cmd={['$ eas build --profile development --platform android']} /> 125 126After the build is complete, copy the URL to the **.apk** from the build details page or the link provided when `eas build` has finished. Then, send that URL to your device and open it on your device to download and install the **.apk**. 127 128</Tab> 129 130<Tab> 131 132> **warning** Apple Developer membership is required to create and install a development build on an iOS device. 133 134To register any iOS device you'd like to develop onto your [ad hoc provisioning profile](/build/internal-distribution/#22-configure-app-signing-credentials-for-ios), run the following command: 135 136<Terminal cmd={['$ eas device:create']} /> 137 138After registering your iOS device, you can create the development build by running the command: 139 140<Terminal cmd={['$ eas build --profile development --platform ios']} /> 141 142> Devices running iOS 16 and above require enabling a special OS-level Developer Mode to install development builds. If you don't have this setting enabled or are installing your first development build on your device, see [iOS Developer Mode](/guides/ios-developer-mode/) to enable it. 143 144After the build is complete, you can download it on your iOS device by scanning the QR code from the device's camera from the Expo CLI. The QR code is provided when the `eas build` command has finished running. 145 146You can also find this QR code on the build page in the [Expo dashboard](https://expo.dev/accounts/[account]/projects/[project]/builds). Click the **Install** button and scan the QR code using the system's camera. 147 148</Tab> 149 150</Tabs> 151 152</Step> 153 154## Next step 155 156<BoxLink 157 title="Share with your team" 158 description="Learn about how you can install and share a development build with your team or run it on multiple devices." 159 href="/develop/development-builds/share-with-your-team" 160/> 161