Skip to content

Commit 361ec2f

Browse files
authored
fix(iOS): restore simulator, device, and UDID args on run-ios command (#2086)
1 parent 47edd13 commit 361ec2f

File tree

1 file changed

+17
-0
lines changed
  • packages/cli-platform-ios/src/commands/runIOS

1 file changed

+17
-0
lines changed

packages/cli-platform-ios/src/commands/runIOS/index.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,5 +620,22 @@ export default {
620620
description:
621621
'List all available iOS devices and simulators and let you choose one to run the app. ',
622622
},
623+
{
624+
name: '--simulator <string>',
625+
description:
626+
'Explicitly set the simulator to use. Optionally set the iOS version ' +
627+
'between parentheses at the end to match an exact version: ' +
628+
'"iPhone 15 (17.0)"',
629+
},
630+
{
631+
name: '--device <string>',
632+
description:
633+
'Explicitly set the device to use by name. The value is not required ' +
634+
'if you have a single device connected.',
635+
},
636+
{
637+
name: '--udid <string>',
638+
description: 'Explicitly set the device to use by UDID',
639+
},
623640
],
624641
};

0 commit comments

Comments
 (0)