I also had this problem using Xcode 12.4.
Following other suggestions here, I deleted my real devices from Xcode. That alone didn't fix it. But as others here have suggested, I re-added my devices and set them up as they had been set up before. And that worked. No more beach balls.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: