XCode reinstall command-line tools

Justin Vallon justinvallon at gmail.com
Thu Sep 23 02:23:15 UTC 2021

On 9/22/21 8:32 PM, Tom wrote:
> Can’t you simply just ignore that error message?
>> On 22. Sep 2021, at 21:48, Justin Vallon <justinvallon at gmail.com> wrote:
>> I upgraded XCode, and encountered the "cltversion: The Command Line Tools are installed, but MacPorts cannot determine the version" error. It linked to https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt.
>> That page talks about missing receipts, and downloading the command line tools manually.
That error is just a warning, but then gcc11 failed to build. 
Addressing the warning by reinstalling the CLT fixed the gcc build issue.

JustinVallon at gmail.com

More information about the macports-users mailing list