Xcode 14 needs macOS 12.4, but Software Update doesn’t show it. I guess I’ll call it a day.

29 minutes later: Fixed the bad Software Update cache with softwareupdate -l

29 minutes later: This doesn’t seem fully thought through. 😅