Shark Deng

Interactive Designer @Shanju Design in Shanghai

touched caffe / mxnet / python / wordpress / bootstrap / Arduino / Raspberry Pi / webgl / three.js / PIXI / 3dMax



Mojave: CoreFoundation.h not found

2020-07-05 15:09:32


After updating to Mojave, terminal cannot locate /System/Library/Frameworks. When I want to compile an objective-c file which imports CoreFoundation or other frameworks, using the command:

clang -framework CoreFoundation test.m -o test

It prompted the error:

fatal error

<CoreFoundation/CoreFoundation.h> not found



tap brew doctor  on terminal. It suggests run a Mac prefix installer  which  is located on


or try:

xcode-select –install

to update CommandLineTools.


——By SharkDeng

Leave a Reply

Your email address will not be published. Required fields are marked *