FWIW, the Command Line Tools (which is significantly smaller than Xcode) 
includes the headers (at 
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/), and will 
also set Clang’s default header search path so that these can be found. You can 
get that with “xcode-select --install”, though if you’re trying to future-proof 
your setup I’ve heard rumors that the Command Line Tools may be dropped as well 
:( I don’t know what Homebrew finally decided on, but I do remember it being 
“pretty broken” (well, more than it usually is) during the macOS Mojave beta 
period because many of their formulas depended on /usr/include existing and 
would only build if you installed the headers package.

Saagar Jha

> On Sep 13, 2019, at 09:58, Jens Alfke via Cocoa-dev 
> <cocoa-dev@lists.apple.com> wrote:
> 
> 
> 
>> On Sep 13, 2019, at 1:32 AM, Mark Allan via Cocoa-dev 
>> <cocoa-dev@lists.apple.com> wrote:
>> 
>> I was initially reluctant to post this here because of NDA concerns
> 
> No worries, there hasn't been a F*cking NDA for years now. You can talk about 
> beta Xcode builds in public.
> 
>> They've pulled the same trick again with 10.15 but this time, the installer 
>> for the headers is also missing meaning I'm unable to compile 3rd party 
>> software using the command line tools because of missing headers like zlib 
>> and libxml2.
> 
> That's the first I've heard of this — I've had Xcode 11 for months and I 
> build 3rd party software with CLI tools all the time. And I assume lots of 
> other people do too, otherwise HomeBrew would be pretty broken :)
> 
> The SDK headers aren't installed in /usr/include or 
> /System/Library/Frameworks, but Clang's default header search path is 
> pre-configured to include the equivalent dirs in the SDK.
> 
> —Jens
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/saagar%40saagarjha.com
> 
> This email sent to saa...@saagarjha.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to