docs/scenes/get-started/set-up-your-environment/instructions/iosSimulatedDevelopmentBuild.mdx
import { Terminal } from '/ui/components/Snippet';
import { Step } from '/ui/components/Step';
import XcodeInstructions from './_xcodeInstructions.mdx'; import { BuildEnvironmentSwitch } from '../BuildEnvironmentSwitch';
To 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="2">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="4"> ### Adjust your build profileTo create a simulator-compatible development build, you'll need to update your build profile in eas.json to set the ios.simulator property to true:
{
"build": {
"development": {
"developmentClient": true,
"distribution": "internal",
/* @info */
"ios": {
"simulator": true
}
/* @end */
}
}
}
Run the following command to create a development build:
<Terminal cmd={['$ eas build --platform ios --profile development']} />
</Step> <Step label="6"> ### Install the development build on your simulatorAfter the build is complete, the CLI will prompt you to automatically download and install it on the iOS Simulator. When prompted, press <kbd>Y</kbd> to directly install it on the simulator.
If you miss this prompt, you can download the build from the link provided in the terminal and drag and drop it onto the iOS Simulator to install it.
</Step>