@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 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.
Examples
Here are some examples to tinker with specific usages that could be useful:
Options
device
Explicitly set device to use by name. The value is not required if you have a single device connected.
install
true
Runs pod install
for native modules before building iOS app.
interactive
true
Run packager server in interactive mode.
port
8081
The port where the packager server is listening on.
packager
true
Starts the packager server.
resetCache
false
Resets metro cache.
scheme
Explicitly set the Xcode scheme to use.
simulator
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
true
Syncs npm dependencies to package.json
(for React Native autolink). Always true when --install
is used.
terminal
Launches the Metro Bundler in a new window using the specified terminal path.
xcodeConfiguration
Debug
Explicitly set the Xcode configuration to use.