File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ export class XCodeSimctlSimulator
367
367
368
368
if ( isSimulatorAppRunning ) {
369
369
// In case user closes simulator window but simulator app is still alive
370
- if ( ! haveBootedDevices ) {
370
+ if ( ! haveBootedDevices || ! device ) {
371
371
device = await this . getDeviceToRun ( options ) ;
372
372
}
373
373
this . simctl . boot ( device . id ) ;
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ export class Simctl implements ISimctl {
88
88
// so, get the `-- iOS X.X --` line to find the sdk (X.X)
89
89
// and the rest of the listing in order to later find the devices
90
90
91
- let deviceSectionRegex = / - - ( i O S ) ( .+ ) - - ( \n .+ ) * / gm;
91
+ let deviceSectionRegex = / - - ( i O S | v i s i o n O S ) ( .+ ) - - ( \n .+ ) * / gm;
92
92
let match = deviceSectionRegex . exec ( rawDevices ) ;
93
93
94
94
let matches : any [ ] = [ ] ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ios-sim-portable" ,
3
- "version" : " 4.4.0" ,
3
+ "version" : " 4.4.1-vision. 0" ,
4
4
"description" : " " ,
5
5
"main" : " ./lib/ios-sim.js" ,
6
6
"files" : [
You can’t perform that action at this time.
0 commit comments