Skip to content

Instantly share code, notes, and snippets.

@vtourraine
Last active November 20, 2019 11:51
Show Gist options
  • Save vtourraine/7e194b5d6b2ab1a7fe1c7eea235769ba to your computer and use it in GitHub Desktop.
Save vtourraine/7e194b5d6b2ab1a7fe1c7eea235769ba to your computer and use it in GitHub Desktop.
Clean the iOS Simulator status bar for the currently booted simulator
xcrun simctl status_bar `xcrun simctl list devices | grep "Booted" | sed -e 's/.* (\(.*\)) (Booted.*/\1/'` override --time "9:41" --batteryState charged --batteryLevel 100 --cellularBars 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment