Warning: The macOS 12 SDK does not appear to be installed. Ports may not build correctly.

Nils Breunese nils at breun.nl
Sun Oct 31 07:42:34 UTC 2021


Joshua Root <jmr at macports.org> wrote:

> On 2021-10-31 10:04 , Daniel J. Luke wrote:
>>> On Oct 30, 2021, at 5:25 PM, Nils Breunese <nils at breun.nl> wrote:
>>> But I indeed don’t seem to have an SDK for macOS 12:
>>> 
>>> So far I haven’t had any ports not building correctly. Is this a known issue? Does it have a known solution?
>> Yes - you can fix it by re-installing the command line tools:
>> https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt
>> (this happened to me on upgrade to macOS 12 as well).
> 
> I'd encourage everyone affected by this issue to use Feedback Assistant to let Apple know that you would like it fixed.

Apart from adding that link to the MacPorts warning message, would it be a good idea to let that wiki page more explicitly state that this is caused by a macOS bug and that we recommend reporting this issue to Apple via the Feedback Assistant when you are affected by this?

Nils.


More information about the macports-dev mailing list