You likely need an xcode update. This happened to me after I installed BigSur. After updating xcode it worked again.
Topic:
Programming Languages
SubTopic:
Swift
Tags: