On Mar 7, 2021, at 12:17, Fielding, Eric J (US 329A) wrote:
> I am getting this warning again from running ‘port upgrade outdated’:
>
> Warning: cltversion: The Command Line Tools are installed, but MacPorts
> cannot determine the version.
> Warning: cltversion: For a possible fix, please see:
> https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt
Follow the instructions in the link provided.
> I recently opened Xcode and it said it needed to update some tools, so I
> guess it installed a different version of the Command Line Tools (CLT) in a
> way that MacPorts can’t determine the version.
No. Opening Xcode does not install the command line tools. Opening Xcode does
prompt you to install additional components (for iOS development) if they are
not already installed, but that is unrelated to the command line tools.