I have the latest compatible version of Xcode (15.2) for macOS Ventura 13.6.9, but it was installed without the CLT. I searched the developer resources from Apple, but I couldn't find the CLT for Xcode 15.2. Also trying xcode-select --install installs version 14.3.1.0.1.1683849156 which isn't the latest. How can I install the version of CLT for Xcode 15.2?
I had figured out that CLT 15.2 hadn't been released! ChatGPT's answer was insightful:
The latest version of the Command Line Tools (CLT) for Xcode 15.2 available for macOS Ventura is still 15.1. As of now, Apple has not released an updated CLT specifically for Xcode 15.2. This has been confirmed by various users who have noted that even after updating to Xcode 15.2, the Command Line Tools remain at version 15.1(MacRumors Forums). If you require the tools, you can continue using the 15.1 version, which should be compatible with your development needs on macOS Ventura.