I am using MacOS Ventura 13.0, and here CLT does not support. I am facing this issue during installing heroku cli using brew.
I tried to resolve this issue using the suggestions, but not working.
There is no new version of XCode and CLT to support Ventura 13.0 in AppStore. I have resolved this issue by installing XCode 14.1 and CLT for XCode 14.1 manually. They are all beta versions, and not published on AppStore.
I downloaded them by manually using following links: XCode 14.1 : https://download.developer.apple.com/Developer_Tools/Xcode_14.1_Release_Candidate_2/Xcode_14.1_Release_Candidate_2.xip