Hi, I had the same issue and what I did to resolve it is downloading the beta of xcode 14, it's like a beta thing, once I had Ventura's beta, I needed the xcode beta that Ventura supports in this url https://developer.apple.com/xcode/ , there you have to click download in the top right corner and then search for the xcode14 folder and download it.
I hope this helps you too, and for me, I'm disabling the beta program to avoid this kind of problems in the future.