to Solve this issue Try installing the beta version of Xcode 13 And it should work fine, I have tried it .
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: