Options

platform

pRequired
string
Default: ios
Accepted values: ios, android

Platform to run for (ios, android).

bundler

boolean

Whether to skip starting the Metro bundler. True to start it, false to skip it.

buildCache

boolean

Should use derived data for builds.

device

d
string

Device name or UDID to build the app on. The value is not required if you have a single device connected.

install

boolean

Should install missing dependencies before building.

port

p
number
Default: 8081

Port to start the Metro bundler on

scheme

string

(iOS) Explicitly set the Xcode scheme to use

sync

boolean
Default: true

Syncs npm dependencies to package.json (for React Native autolink). Always true when --install is used.

variant

string
Default: debug

(Android) Specify your app's build variant (e.g. debug, release).

xcodeConfiguration

string
Default: Debug

(iOS) Xcode configuration to use. Debug or Release