It is possible to run UE 4.24 and 4.27 on Ventura with XCode 14.x.y, Try to apply solutions from this thread: