In my case I saw this after trying out Xcode 14b3 and switching back to Xcode 13.4.1 but not the active developer directory, xcode-select -s ~/Applications/Xcode.app did the job here.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: