I uninstalled XCode and updated to the latest version (13.4) and it seems to have resolved.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: