Skip to content

Instantly share code, notes, and snippets.

@miquelbotanch
Created December 2, 2014 11:14
Show Gist options
  • Save miquelbotanch/c5256c2e9d9bbf3153d3 to your computer and use it in GitHub Desktop.
Save miquelbotanch/c5256c2e9d9bbf3153d3 to your computer and use it in GitHub Desktop.
Clean all XCode Simulators in one single line.
xcrun simctl list | grep -oh '[A-Z0-9]\{8\}-[A-Z0-9]\{4\}-[A-Z0-9]\{4\}-[A-Z0-9]\{4\}-[A-Z0-9]\{12\}' | xargs -I{} xcrun simctl erase {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment