Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add missing --mode description #1914

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions packages/cli-platform-ios/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@ react-native run-ios --simulator "iPhone 14"

[Deprecated] Explicitly set the scheme configuration to use default: 'Debug'.

#### `--mode <string>`

Explicitly set the scheme configuration to use. This option is case sensitive.
szymonrybczak marked this conversation as resolved.
Show resolved Hide resolved

Example:

```sh
react-native run-ios --mode "Release"
```

#### `--scheme <string>`

Explicitly set Xcode scheme to use.
Expand Down Expand Up @@ -127,6 +137,16 @@ react-native build-ios --simulator "iPhone 14"

[Deprecated] Explicitly set the scheme configuration to use default: 'Debug'.

#### `--mode <string>`

Explicitly set the scheme configuration to use. This option is case sensitive.

Example:

```sh
react-native build-ios --mode "Release"
```

#### `--scheme <string>`

Explicitly set Xcode scheme to use.
Expand Down
3 changes: 2 additions & 1 deletion packages/cli-platform-ios/src/commands/buildIOS/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ export const iosBuildOptions = [
},
{
name: '--mode <string>',
description: 'Explicitly set the scheme configuration to use',
description:
'Explicitly set the scheme configuration to use. This option is case sensitive.',
},
{
name: '--configuration <string>',
Expand Down