docs/scenes/get-started/set-up-your-environment/instructions/iosPhysicalDevelopmentBuild.mdx
import { Terminal } from '/ui/components/Snippet';
import { Step } from '/ui/components/Step';
import { BuildEnvironmentSwitch } from '../BuildEnvironmentSwitch';
To install a development build on your iOS device, you will need an active subscription to the Apple Developer Program. Sign up for the Apple Developer Program here.
</Step> <Step label="2"> ### Install EAS CLITo build your app, you will need to install EAS CLI. You can do this by running the following command in your terminal:
<Terminal cmd={['$ npm install -g eas-cli']} />
</Step> <Step label="3">Next, you will need to create an Expo account and login to the EAS CLI.
Run the following command to create an EAS config in your project:
<Terminal cmd={['$ eas build:configure']} />
</Step> <Step label="5"> ### Create an ad hoc provisioning profileTo install a development build on your iOS device, you will need to create an ad hoc provisioning profile. Create one by running the following command in your terminal:
<Terminal cmd={['$ eas device:create']} />
</Step> <Step label="6"> ### Create a development buildRun the following command to create a development build:
<Terminal cmd={['$ eas build --platform ios --profile development']} />
</Step> <Step label="7"> ### Install the development build on your deviceAfter the build is complete, scan the QR code in your terminal and tap Open with iTunes when it appears inside the Camera app. Alternatively, open the link displayed in the terminal on your device.
After confirming the installation, the app will appear in your device's app library.
</Step> <Step label="8"> ### Turn on developer mode</Step>Alternatively, if you have Xcode installed on your Mac, you can use it to enable iOS developer mode.