These instructions assume you have already cloned the repository and completed the initial setup from the Quickstart guide.
Package Manager
While these instructions usebun
, you can also use npm
or yarn
. Simply replace bun
with your preferred package manager in the commands.
Build Steps
Follow these steps to build and run your iOS app locally:1
Install Dependencies
Run the following command to install all required dependencies:
2
Run Prebuild
This step configures your native iOS project:
3
Start iOS Build
To run on the iOS simulator:To run on a physical device:
To list available iOS devices and simulators, you can use:
Running on Physical Device
When running on a physical device:- Make sure your device is connected via USB
- Trust your development certificate on the device
- Unlock your device before running the build command
The first build might take longer as it needs to compile all native dependencies. Subsequent builds will be faster.