nisargjhaveri / vscode-ios-debug

iOS debugging in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=nisargjhaveri.ios-debug
92 stars 11 forks source link

Use `simctl bootstatus udid -b` to boot Simulator. #6

Closed bzarco closed 2 years ago

bzarco commented 2 years ago

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 than boot, 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 the simctl 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).

nisargjhaveri commented 2 years ago

I didn't even know about this! Looks like a semi-documented command!

nisargjhaveri commented 2 years ago

Thanks!

aelam commented 2 years ago

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: @.***>

bzarco commented 2 years ago

Glad it is useful :)