This information from Apple Developer Forums helped me:
https://developer.apple.com/forums/thread/806658
Xcode is so buggy everywhere these days...