# Crash on OSX 10.9 and 10.10 related to CABTLEMIDIWindowController.h

**URL:** <https://forum.juce.com/t/crash-on-osx-10-9-and-10-10-related-to-cabtlemidiwindowcontroller-h/35806>\
**Category:** MacOSX and iOS\
**Created:** [October 22, 2019, 9:58am UTC](https://forum.juce.com/t/crash-on-osx-10-9-and-10-10-related-to-cabtlemidiwindowcontroller-h/35806 "2019-10-22T09:58:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrotschi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mrotschi/32/4764_2.png) [@mrotschi](https://forum.juce.com/u/mrotschi)\
**Post date:** [October 22, 2019, 9:58am UTC](https://forum.juce.com/t/crash-on-osx-10-9-and-10-10-related-to-cabtlemidiwindowcontroller-h/35806/1 "2019-10-22T09:58:29Z")

</div>

Hi,

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

> #if defined (MAC\_OS\_X\_VERSION\_10\_11) && MAC\_OS\_X\_VERSION\_MIN\_REQUIRED \>= MAC\_OS\_X\_VERSION\_10\_11

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

Thanks

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [October 22, 2019, 10:13am UTC](https://forum.juce.com/t/crash-on-osx-10-9-and-10-10-related-to-cabtlemidiwindowcontroller-h/35806/2 "2019-10-22T10:13:42Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![mrotschi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mrotschi/32/4764_2.png) [@mrotschi](https://forum.juce.com/u/mrotschi)\
**Post date:** [October 22, 2019, 12:17pm UTC](https://forum.juce.com/t/crash-on-osx-10-9-and-10-10-related-to-cabtlemidiwindowcontroller-h/35806/4 "2019-10-22T12:17:25Z")

</div>

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

Sorry for the noise…

---

<div class="post-metadata">

**Author:** ![siedschl](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@siedschl](https://forum.juce.com/u/siedschl)\
**Post date:** [February 25, 2022, 9:28am UTC](https://forum.juce.com/t/crash-on-osx-10-9-and-10-10-related-to-cabtlemidiwindowcontroller-h/35806/5 "2022-02-25T09:28:12Z")

</div>

Sorry to revive this topic… but I get that crash now since JUCE 6.1.4 even though I have set the OSX Deployment Target even to 10.7?

---

<div class="post-metadata">

**Author:** ![siedschl](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@siedschl](https://forum.juce.com/u/siedschl)\
**Post date:** [April 2, 2022, 11:06am UTC](https://forum.juce.com/t/crash-on-osx-10-9-and-10-10-related-to-cabtlemidiwindowcontroller-h/35806/6 "2022-04-02T11:06:43Z")

</div>

Bump…
