Same here, it seems to be an Apple Silicon Issue, sadly there is no response from Apple to this topic even if its obvious that its nothing the developers do wrong.
I clean installed my MacBook Pro M2Max, installed XCode 14.3 and right away ran into this trouble.