Crash on OSX 10.9 and 10.10 related to CABTLEMIDIWindowController.h


I am trying to make my application working on MacOSX 10.9 and 10.10 (it’s working perfectly above 10.10) but I have a crash at startup related to a missing symbol: CABTLEMIDIWindowController. (which has been introduced in 10.11)

After digging a bit in the code, I found in juce_audio_utils/juce_audio_utils.cpp a line (Introduced in Juce 5.4.4)

#import <CoreAudioKit/CABTLEMIDIWindowController.h>

Everything works correctly if I add the following preprocessor condition before the #import line


Can somebody confirm that I did the correct interpretation and that it’s a bug ?


You need to set the “OSX Deployment Target” option in the Projucer to the earliest version of macOS that you want your app to run on (10.9 in your case).

Damned, I did change this option, but it seems that at some point I reverted the change… :flushed:

Sorry for the noise…