Problem setting up my mac for compiling

Just getting back to JUCE after a while and I’ve switched from Windows to Mac. I’ve installed the xcode tools and also clion (my IDE). I’ve confirmed I’ve got clang installed using terminal, but when I try to compile my pluing, I get this error:

/Users/manelibanez/wanalog-Plugin/JUCE/modules/juce_core/native/juce_BasicNativeHeaders.h:48:11:
fatal error: ‘Cocoa/Cocoa.h’ file not found
#import <Cocoa/Cocoa.h>

I’m not actually a C++ coder, so not sure what I may have wrong here.

Can anyone maybe point me in the right direction? Thanks!

Ended up formatting the mac and installing all dev tools form scratch, updating JUCE to 7 and all is working again.

2 Likes