Skip to content

Commit 821eaaa

Browse files
authored
fix: include tvOS in simulator discovery (#135)
1 parent a8350b8 commit 821eaaa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/simctl.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class Simctl implements ISimctl {
8888
// so, get the `-- iOS X.X --` line to find the sdk (X.X)
8989
// and the rest of the listing in order to later find the devices
9090

91-
let deviceSectionRegex = /-- (iOS|visionOS) (.+) --(\n .+)*/gm;
91+
let deviceSectionRegex = /-- (iOS|visionOS|tvOS) (.+) --(\n .+)*/gm;
9292
let match = deviceSectionRegex.exec(rawDevices);
9393

9494
let matches: any[] = [];

0 commit comments

Comments
 (0)