Skip to content

Commit c2befef

Browse files
committed
feat: allow listing visionOS devices
1 parent 2a7e2c2 commit c2befef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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) (.+) --(\n .+)*/gm;
91+
let deviceSectionRegex = /-- (iOS|visionOS) (.+) --(\n .+)*/gm;
9292
let match = deviceSectionRegex.exec(rawDevices);
9393

9494
let matches: any[] = [];

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ios-sim-portable",
3-
"version": "4.4.0",
3+
"version": "4.4.1-vision.0",
44
"description": "",
55
"main": "./lib/ios-sim.js",
66
"files": [

0 commit comments

Comments
 (0)