LoginSignup
5
3

More than 5 years have passed since last update.

simctlでiPhoneシミュレータを全削除する

Posted at

今までiPhoneやApple WatchのシミュレータをXcodeのDevices上でチマチマ消してたのですが、何らかの動作が関係して、全復活したので用意しました。

忘れてしまいそうなのでほぼ自分用として用意しました。

もし使う場合は削除操作なので自己責任でお願いします

$ for i in $(xcrun simctl list | grep -oE '\w{8}-\w{4}-\w{4}-\w{4}-\w{12}'); do xcrun simctl delete ${i}; done
5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3