[HELP] Xcode unable to connect to multiple devices, stuck on "Connecting to 's iPhone"

Hello, I've been searching online for ways to remedy this issue for the past 3 days and this is my last resort.

The Issue

Build on device fails to connect to the device.

The prompt will permanently be stuck loading in that screen. Finder is able to connect to the device, just that Xcode is unable to.

Xcode does prompt for passcode on the device, and I have entered it accordingly.

I note that i AM on VPN, but even disabling VPN and turning off Wifi does not fix the issue.

This was working until several days ago. Not sure what the issue is.

Fixes Attempted

  1. Tried with a different cable, and USB ports
  2. Tried with different devices (multiple devices both iPad and iPhone has the same issue)
  3. Turn Off and On developer mode on devices.
  4. Clear Trusted Computers on devices.
  5. Updating both devices to the latest iOS version.
  6. Quitting Xcode
  7. Clearing derived cache
  8. Restarting Macbook
  9. Updating to the latest iOS version on Macbook
  10. Reinstalling Xcode
  11. toggling signing certificates

I was trying other fixes like "pkill usbmuxd", but since I am on corporate hardware, i will be required to escalate it if i require sudo permissions.

Is anyone able to provide a concrete solution or explanation why this happens?

[HELP] Xcode unable to connect to multiple devices, stuck on "Connecting to 's iPhone"
 
 
Q