"Copying shared cache symbols": why Xcode makes you wait, and where those gigabytes go afterwards
Xcode copies debug symbols from each device and iOS version you connect, and keeps them. What the wait is, where they land, and what to delete.
What does "Copying shared cache symbols" mean in Xcode?
It means Xcode is copying the debug symbols for the system frameworks on your connected iPhone or iPad to your Mac, so the debugger and crash reports show function names instead of memory addresses. It runs once for each iOS version and device type, stores the result in ~/Library/Developer/Xcode/iOS DeviceSupport, and keeps it until you delete it.
Apple describes the same step in Acquiring operating system symbol information: Xcode automatically copies operating system binaries that contain symbols from each device you connect, and those symbols are specific to the OS release, the device model and its CPU architecture.
Why does copying shared cache symbols take so long?
Because it copies the symbols for the whole of iOS on that device, then extracts them on the Mac. That is a lot of data over a cable, and more over a wireless connection. The percentage moves in jumps, so a long pause is usually progress you cannot see.
- Use a cable for the first connection after an iPhone update. It is much faster than wireless.
- Keep the iPhone unlocked and connected. Apple describes collecting symbols from an unlocked, attached device.
- Leave it to finish. Cancelling means it starts again next time.
- If it stays at 0% for many minutes, unplug, restart the iPhone, and reconnect.
Why does Xcode copy symbols again after an iOS update?
Each iOS version has its own system frameworks, so it has its own symbols. Apple's example: the symbols for an iPhone on iOS 26 are not the same as for the same iPhone on iOS 26.2. Every update, point releases included, means one more copy, and the folder for the old version stays behind.
Where does Xcode store the shared cache symbols?
In your home Library, one folder per platform: ~/Library/Developer/Xcode/iOS DeviceSupport, with watchOS DeviceSupport, tvOS DeviceSupport and visionOS DeviceSupport beside it if you build for those. Inside, each folder is named after an OS version and build, for example 17.4.1 (21E236). This lists them, smallest first:
du -sh ~/Library/Developer/Xcode/*DeviceSupport/* 2>/dev/null | sort -hHow much space does iOS DeviceSupport use?
It depends on how many iOS versions and device types you have connected, so measure your own with the command above. A developer who has tested across a few years of releases can have dozens of version folders, and Xcode removes none of them.
Measured on 2 December 2026 on a MacBook Air (M1, 8 GB) running macOS 27.2.1, with Xcode no longer installed: ~/Library/Developer/Xcode/iOS DeviceSupport was still there but empty, 0 B, and the whole ~/Library/Developer/Xcode folder was 404 KB. No version folders means no size per iOS version to report from this Mac, so the guide gives the command instead of a figure. The empty folder also shows that removing Xcode leaves this path in place.
Is it safe to delete iOS DeviceSupport folders?
Yes, for versions you no longer test on or debug crashes from. The only cost of deleting one is that Xcode copies the symbols again the next time a device with that version connects.
| Folder | Delete it? |
|---|---|
| iOS versions no device of yours runs any more | Yes. Nothing uses them |
| The version on the iPhone you test with today | Keep it, or you will wait again |
| A version you need for reading old crash reports | Keep it until you are done with those reports |
How do I delete old iOS DeviceSupport folders safely?
- Quit Xcode.
- Open the folder in Finder with the command below, or in Finder choose Go, Go to Folder and paste
~/Library/Developer/Xcode/iOS DeviceSupport. - Select the version folders you no longer need and press Command Delete to move them to the Trash.
- Connect your current iPhone and build once, to check Xcode still has what it needs. Then empty the Trash.
open ~/Library/Developer/Xcode/"iOS DeviceSupport"Moving them to the Trash rather than deleting them in Terminal leaves you a way back if a folder turns out to be one you still use.
Can I copy the symbols from Terminal instead of waiting in Xcode?
Yes. Apple documents xcodebuild -prepareDeviceSupport, which copies the symbols from an unlocked, attached device without starting a build. Find the device's UDID first, then pass it as the destination. It is the same copy and lands in the same folder, so it saves no space, only the wait at the moment you want to debug.
xcrun devicectl list devices --columns 'UDID'
xcodebuild -prepareDeviceSupport -destination "id=<device UDID>"Device support usually sits next to Xcode's other large folders. Our guides to DerivedData and archives and device support cover the rest of ~/Library/Developer.
Common questions
What does Copying shared cache symbols mean in Xcode?
Xcode is copying debug symbols for the system frameworks on your connected device to your Mac, so the debugger and crash reports can show function names. It happens once per iOS version per device type, and the copy is kept in ~/Library/Developer/Xcode/iOS DeviceSupport.
How long does copying shared cache symbols take?
There is no fixed time: it depends on the connection and on how much of iOS has to be copied. A cable and an unlocked iPhone help. Cancelling only means it starts again the next time you connect.
Is it safe to delete iOS DeviceSupport folders?
Yes for iOS versions you no longer test on or read crash reports from. Xcode copies the symbols again if a device with that version connects later. Move them to the Trash from Finder so you can restore one if needed.
Why does Xcode copy symbols again after an iOS update?
Each iOS version, including point releases, has its own system frameworks and so its own symbols. Apple notes that iOS 26 and iOS 26.2 on the same iPhone need different symbols. The folder for the old version stays behind until you remove it.
Does deleting Xcode remove iOS DeviceSupport?
No. The folder is in your home Library, not inside Xcode. On a Mac measured on 2 December 2026 with Xcode removed, ~/Library/Developer/Xcode/iOS DeviceSupport was still present. Check it with du -sh after uninstalling Xcode.