I just tried to use git and i get a response back it can't find version 13 of the SDK. Of course, that makes sense since I have 14.3 installed, but it's stuck in this loop of demanding I install version 13. How can I tell it that 14.3 is installed? I just tried installing 14.3.1 of Xcode and the tools and that had no effect. Still insists on downgrading.
Problem is solved. Xcode is looking for an non-existent symlink. There is no "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk". Instead, there is
drwxr-xr-x 8 maurice staff 256 May 28 00:43 MacOSX.sdk lrwxr-xr-x 1 maurice staff 10 May 28 00:16 MacOSX13.3.sdk -> MacOSX.sdk lrwxr-xr-x 1 maurice staff 10 May 28 00:16 MacOSX13.sdk -> MacOSX.sdk
When I manually added the symlink lrwxr-xr-x 1 maurice staff 10 May 28 00:44 MacOSX13.0.sdk -> MacOSX.sdk
Everything started working again.