Skip to main content

iOS Simulators

You can run and stop the iOS simulator directly from the VSCode sidebar. This functionality utilizes xcrun, which is a component of the Xcode command-line tools.

Features:โ€‹

  1. ๐Ÿš€ Boot iOS Simulator โ€” Click the green โ–ถ๏ธ button next to the simulator name in the "Simulators" panel to boot the iOS Simulator.
  2. ๐Ÿ›‘ Stop iOS Simulator โ€” Click the red โน button next to the simulator name in the "Simulators" panel to stop the iOS Simulator.
  3. ๐Ÿ“ฑ Run iOS Simulator โ€” Click the ๐Ÿ“ฑ button at the top of the "Simulators" panel to run the iOS Simulator.
  4. ๐Ÿ”„ Refresh iOS Simulators โ€” Click the โ†ป button at the top of the "Simulators" panel to refresh the list of iOS Simulators.
  5. ๐Ÿงน Clean Simulator Cache โ€” Use this feature to remove the simulator cache in case of errors.

If you are looking for more features, please open a discussion or issue on the SweetPad GitHub repository.

๐Ÿ˜ฑ If you encounter the error Failed to start launchd_sim: could not bind to session, launchd_sim may have crashed or stopped responding when trying to boot the iOS Simulator, use the "Remove simulator cache" button to clean the cache and try again.