Skip to content

Instantly share code, notes, and snippets.

@Pitsko
Created November 9, 2015 07:32
Show Gist options
  • Select an option

  • Save Pitsko/54ac37ceaede07c97e4c to your computer and use it in GitHub Desktop.

Select an option

Save Pitsko/54ac37ceaede07c97e4c to your computer and use it in GitHub Desktop.

Revisions

  1. Pitsko created this gist Nov 9, 2015.
    1 change: 1 addition & 0 deletions clean all simulators
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    xcrun simctl list | awk -F "[()]" '{ for (i=2; i<NF; i+=2) print $i }' | grep '^[-A-Z0-9]*$' | xargs -I uuid xcrun simctl erase uuid