but the 10.10 SDK doesn't exist in Xcode 7. For reference, the call that fails is:
gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.10 -Wall -Wmissing-prototypes -g -O2 -c ./util.c
clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk'
./util.c:1:10: fatal error: 'CoreFoundation/CoreFoundation.h' file not found
#include <CoreFoundation/CoreFoundation.h>
^
1 error generated.
make: *** [util.o] Error 1
It can be built using Homebrew, under their superenv, which among other things removes the isysroot. (If you build in Homebrew withoutsuperenv, a similar choke occurs.)
Here is Homebrew's summary of how it altered things, on the clang call in question:
duti
won't build on 10.10.5 with Xcode 7. That seems to be because it hardcodes:but the 10.10 SDK doesn't exist in Xcode 7. For reference, the call that fails is:
It can be built using Homebrew, under their
superenv
, which among other things removes theisysroot
. (If you build in Homebrew withoutsuperenv
, a similar choke occurs.)Here is Homebrew's summary of how it altered things, on the
clang
call in question:Also, here is the Homebrew issue report that led me to post here.