Like I said, Xcode always selects the most recently used device for debugging, but when that device disconnects from the Mac, Xcode takes a long time to load and you can’t dismiss it.
What a stupid feature! Has anyone encountered the same issue and found a way to resolve it? Thank you very much!