# Simulator temporary files

Source: https://diskcity.app/folders/simulator-device-temp

**Safe to delete.** Yes. Apps in the simulator make new temporary files when they run.

## What it is

Each simulator's tmp folder holds the temporary files of the apps run in it, like a device's own temp folder.

Only tmp; the simulator's apps, data and settings stay. Nothing goes while Xcode, the Simulator or a test run is open.

## Where it is

- `~/Library/Developer/CoreSimulator/Devices/*/data/tmp`

## 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.
