I encountered the same issue. I had one machine where everything was working perfectly and another where it was completely broken — despite having nearly identical setups.
After a lot of digging, I realized the key difference was device pairing. On the working machine, I only had simulators. On the broken one, I had both simulators and real iOS devices paired. It seems there's a bug in Xcode where having both types of devices present (real + simulator) causes it to choke when resolving run destinations.
Workaround: Use either simulators or real devices
You may need to uninstall all simulators if you're using a real device, or vice versa (I have not tried with only real devices). Sadly this workaround is unusable for us, so we had to downgrade anyway.
Additional Note:
On one machine, even unpairing the real devices wasn't enough. We had to manually delete the system receipt for the Command Line Tools executables package (com.apple.pkg.CLTools_Executables) located at:
/Library/Apple/System/Library/Receipts/
Only after removing that was the issue fully resolved.
To be honest the issue may be somewhere else entirely, but it hopefully gets fixed soonish.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: