Developer · Xcode
Is it safe to delete Xcode previews?
~/Library/Developer/Xcode/UserData/Previews
Previews
~/Library/Developer/Xcode/UserData/Previews
Simulators and build data Xcode uses to show SwiftUI previews.
- Comes back
- On next preview
- Belongs to
- Xcode
- Confidence
- Medium
If you remove itXcode recreates it the next time a preview runs; the first preview is slower.
The short answer
Medium Usually safe, but something lowers Cachet’s confidence, such as its app being open or it changing today. It comes back by itself.
More developer
- DerivedData~/Library/Developer/Xcode/DerivedDataOn next buildHigh
- iOS DeviceSupport~/Library/Developer/Xcode/iOS DeviceSupportWhen a device connectsHigh
- watchOS DeviceSupport~/Library/Developer/Xcode/watchOS DeviceSupportWhen a watch connectsHigh
- Simulator caches~/Library/Developer/CoreSimulator/CachesAutomaticallyHigh
- Archives~/Library/Developer/Xcode/ArchivesNeverReview
From the rules Cachet uses, in the words the app shows.