Closed bzarco closed 2 years ago
I didn't even know about this! Looks like a semi-documented command!
Thanks!
all you are genius
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Nisarg Jhaveri @.>
Sent: Friday, June 3, 2022 1:40:11 PM
To: nisargjhaveri/vscode-ios-debug @.>
Cc: Subscribed @.***>
Subject: Re: [nisargjhaveri/vscode-ios-debug] Use simctl bootstatus udid -b
to boot Simulator. (PR #6)
Thanks!
— Reply to this email directly, view it on GitHubhttps://github.com/nisargjhaveri/vscode-ios-debug/pull/6#issuecomment-1145578006, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AABYXEPJG4JTDSOFHJJFHW3VNGECXANCNFSM5XW57CTA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Glad it is useful :)
Noticed this while working on the other pull request, so figured I'd send it. I use
bootstatus
in other scripts and like its behavior better thanboot
, but feel free to close if not interested.bootstatus
checks if the Simulator is booted, booting it if it is not. This is the same behavior as before, but built into thesimctl
command. Also, it waits until the device is booted, making the VSCode progress message more correct (before it would say it is installing the app during the boot process).