Foiled Again - Part 3 Addendum

Joshua Root jmr at macports.org
Tue Oct 22 06:19:09 UTC 2024


Michael Newman wrote:

> Anyway, I was able to get MacPorts fully working by:
>
> sudo rm -rf /Library/Developer/CommandLineTools

You don't have to fully remove the CLTs to fix the problem, just 
/Library/Developer/CommandLineTools/usr/include/c++.


> Install CLT 16 from the DMG available from ​https://developer.apple.com/download/all/ (Command_Line_Tools_for_Xcode_16.dmg)
>
> But at that link I could not find a dmg with a release version of CLT16, only release candidates which I hesitated to use.

There is a link there to 
<https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_16/Command_Line_Tools_for_Xcode_16.dmg>, 
though I'm not sure if you have to have an Apple Developer account to 
see it. You don't have to use that dmg though; `xcode-select --install` 
works just as well. If it installs an older version as some have 
reported, Software Update will bring it up to date.

- Josh



More information about the macports-users mailing list