Skip to content

Commit

Permalink
docs: add missing --mode description (#1914)
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonrybczak authored and thymikee committed May 4, 2023
1 parent b1cb982 commit 6baa1dc
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
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.

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

0 comments on commit 6baa1dc

Please sign in to comment.