Created
July 24, 2015 09:41
-
-
Save taskie/d74cb7df857c4d9daf41 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
devices = `xcrun simctl list devices`.each_line do |line| | |
if line =~ /[^\(]+\(([^\)]+)\)/ | |
puts $1 | |
`xcrun simctl delete #{$1}` | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment