# Test-run simulators

Source: https://diskcity.app/folders/simulator-xctest-devices

**Safe to delete.** Yes. Xcode makes new test devices the next time you run tests in parallel.

## What it is

Xcode clones simulators here to run tests in parallel and makes fresh ones for each run.

Nothing goes while Xcode, the Simulator or a test run is open, or within 3 days of use.

## Where it is

- `~/Library/Developer/XCTestDevices/*`

## How big is it?

```sh
du -sh "$HOME/Library/Developer/XCTestDevices"
```

## How to remove it

1. Quit Xcode, Simulator, xcodebuild, xctest, XCTRunner, com.apple.dt.Xcode, com.apple.iphonesimulator first.
2. In Finder, choose Go > Go to Folder (Shift-Command-G), paste the path above and press Return.
3. Leave anything opened or changed less than 3 days ago (for a folder, its newest file counts). DiskCity waits that long too.
4. Move only what passes these checks to the Trash.
5. Empty the Trash to get the space back. Until then, you can still put things back.

## What DiskCity does with it

DiskCity labels it as rebuildable and removes it when you approve, or on its own if you turn on Autopilot. It only suggests it once it hasn't been used for 3 days. It waits until Xcode is closed.
