Extreme slowness for debugger to start after updating to xCode 13

Macbook Pro 15 inch (2019) 2.6GHz 6-Core i7; 16gb 2400 DDR4.

OSX: 11.3.1

Xcode: 12.5 -> 13.0 (13A233)

I've recently updated xcode to 13 and noticed extreme performance issues suddenly. This happens on any application project, we were testing with a single view app with a single hello world label and the issue was no worse / better.

When building to a physical device it takes well over 1 minute after "installing the application" when xcode says the process is running for the debugger to start working and the app do anything. I've tested on a virtual device and it still takes a rather long time, about 30 seconds. Before, this process would be basically instant and most of the build time was "Building" and "Installing".

Other coworkers who have done the same upgrade as me complain of similar performance issues (same configuration as listed above), and this is reproducible on every project we've built on.

A few things I have attempted to fix the issue with:

Device is plugged in and running off adapter not battery

All power saving options are turned off that could affect performance

The HDD is not full, there is about 30 gb free (I guess this is possibly the problem?)

Network build options for the iPad I was using have been turned off (Issue is reproducible on any device though)

Change Debug information Format from DWARF with dSYM to DWARF

Any and all help would be appreciated.

Deleting the contents of ~/Library/Developer/Xcode/iOS DeviceSupport fixed this.

I wish I could update Xcode without having to spend several hours debugging some new problem each time...

Extreme slowness for debugger to start after updating to xCode 13
 
 
Q