skip to Main Content

I just upgrade iOS Simulator runtimes from 17.0.1 to 17.2 and most of my emulators are cloned with 2 different ios versions as in the photo below.

I want to save my Mac’s memories so I want to remove all simulator with ios 17.0.1. Is there any other way than manually deleting them one by one?

enter image description here

2

Answers


  1. Follow this steps :

    1. Open Devices and Simulators from window menu of Xcode

    2. Click on Simulators from top left segment

    3. Select Simulator which you want to remove and do right click then click delete option

    Hope this will help you!

    Login or Signup to reply.
  2. Delete all simulators with one line command

    To delete all simulators of a specific iOS version (for example, iOS 17.0.1), use the simctl delete command. You can delete each simulator individually by specifying its identifier, but to delete all simulators of a certain iOS version in one go, you can use a combination of commands to filter and delete them. Here’s an example command:

    xcrun simctl list devices | grep 'iOS 17.0.1' | grep -o -E '[0-9A-F-]+' | xargs -L1 xcrun simctl delete
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search