@nrwl/react-native:run-ios

Run iOS target options.

Options can be configured in project.json when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/configuration/projectjson#targets.

Options

device

string

Explicitly set device to use by name. The value is not required if you have a single device connected.

install

boolean
Default: true

Runs pod install for native modules before building iOS app.

port

number
Default: 8081

The port where the packager server is listening on.

packager

boolean
Default: true

Starts the packager server.

resetCache

boolean
Default: false

Resets metro cache.

scheme

string

Explicitly set the Xcode scheme to use.

simulator

string
Default: iPhone X

Explicitly set simulator to use. Optionally include iOS version between parenthesis at the end to match an exact version: iPhone X (12.1).

sync

boolean
Default: true

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

terminal

string

Launches the Metro Bundler in a new window using the specified terminal path.

xcodeConfiguration

string
Default: Debug

Explicitly set the Xcode configuration to use.

Options playground

This is an example of what the properties looks like and their values. Go ahead and try, test your configuration this is a live-edit window, you can interact directly and get intellisense on property's values.

Loading...