Skip to content

Commit 23d9a1a

Browse files
authored
fix: Use 'fallback simulator' for tvOS (#2608)
* fix: Use 'fallback simulator' for tvOS * Fix linting error
1 parent 955a39a commit 23d9a1a

File tree

1 file changed

+3
-1
lines changed
  • packages/cli-platform-apple/src/commands/runCommand

1 file changed

+3
-1
lines changed

packages/cli-platform-apple/src/commands/runCommand/createRun.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@ const createRun =
194194
}
195195

196196
const fallbackSimulator =
197-
platformName === 'ios' ? getFallbackSimulator(args) : devices[0];
197+
platformName === 'ios' || platformName === 'tvos'
198+
? getFallbackSimulator(args)
199+
: devices[0];
198200

199201
if (args.listDevices || args.interactive) {
200202
if (args.device || args.udid) {

0 commit comments

Comments
 (0)