# Yosemite and JUCE plugins

**URL:** <https://forum.juce.com/t/yosemite-and-juce-plugins/13757>\
**Category:** Audio Plugins\
**Created:** [October 22, 2014, 5:03pm UTC](https://forum.juce.com/t/yosemite-and-juce-plugins/13757 "2014-10-22T17:03:40Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![patrickkunz](https://avatars.discourse-cdn.com/v4/letter/p/73ab20/32.png) [@patrickkunz](https://forum.juce.com/u/patrickkunz)\
**Post date:** [April 22, 2015, 12:38pm UTC](https://forum.juce.com/t/yosemite-and-juce-plugins/13757/21 "2015-04-22T12:38:38Z")

</div>

I'm not on the very latest tip and it seems that my plugins only have issues with cubase 32bit on yosemite. I compile with OSX&nbsp;SDK 10.7 and deployment target 10.5. Maybe deployment target 10.5 isn't a good choice... and an update to 10.10 would be even better,&nbsp;but it seems that a lot of people have this issue if i read this posts here. Do you think a SDK update can fix that?

---

<div class="post-metadata">

**Author:** ![chkn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/chkn/32/3862_2.png) [@chkn](https://forum.juce.com/u/chkn)\
**Post date:** [April 22, 2015, 12:51pm UTC](https://forum.juce.com/t/yosemite-and-juce-plugins/13757/22 "2015-04-22T12:51:50Z")

</div>

Well thats speculation, a guessing game,&nbsp;but i recommend:

Use the latest SDK (10.7 is very old, why not the latest?)

Use the latest tip

Use the latest build-environment (Xcode version)

Choose target (compatibility)&nbsp;version 10.6&nbsp;

Than it would interesting to know, if the problem still happens.

&nbsp;

---

<div class="post-metadata">

**Author:** ![patrickkunz](https://avatars.discourse-cdn.com/v4/letter/p/73ab20/32.png) [@patrickkunz](https://forum.juce.com/u/patrickkunz)\
**Post date:** [April 22, 2015, 12:56pm UTC](https://forum.juce.com/t/yosemite-and-juce-plugins/13757/23 "2015-04-22T12:56:00Z")

</div>

Thanks for the hints. Maybe it's time to update. I will try that.

Edit: Removing&nbsp;removeWindowHidingHooks as a quick fix works for cubase.

---

<div class="post-metadata">

**Author:** ![patrickkunz](https://avatars.discourse-cdn.com/v4/letter/p/73ab20/32.png) [@patrickkunz](https://forum.juce.com/u/patrickkunz)\
**Post date:** [April 22, 2015, 7:10pm UTC](https://forum.juce.com/t/yosemite-and-juce-plugins/13757/24 "2015-04-22T19:10:00Z")

</div>

This was a busy day :)&nbsp;

I'm a OSX 10.10 user now and as always there was a lttle surprise. PackageMaker was not&nbsp;available anymore, but i had luck and there was one somewhere on the developer site that still does the job at least until the next update.

Compiled with the latest 10.10 SDK,&nbsp;target 10.6 and the latest tip. It still does not work and is reproducable with my cubase 6 32bit installation.&nbsp;

I really hope that jules or another JUCE&nbsp;team member can look into this and make an official fix. The&nbsp;removeWindowHidingHooks solution works and there is no reported issue with it. Maybe just merge this one into the tip?

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [April 23, 2015, 8:26am UTC](https://forum.juce.com/t/yosemite-and-juce-plugins/13757/25 "2015-04-23T08:26:07Z")

</div>

Hmmm... we recenlty addressed a similar problem&nbsp;specifically for Cubase in [this commit](https://github.com/julianstorer/JUCE/commit/3bcc182fe968f0a40bfd6e78d27625653697d2f3). &nbsp;Try changing&nbsp;`isCubase7orLater`&nbsp;to&nbsp;`isCubase6orLater` in [modules/juce\_audio\_plugin\_client/VST/juce\_VST\_Wrapper.mm](https://github.com/julianstorer/JUCE/blob/master/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.mm)&nbsp;. Does this work for?It might cause a memory leak in Cubase 6 through.

---

<div class="post-metadata">

**Author:** ![patrickkunz](https://avatars.discourse-cdn.com/v4/letter/p/73ab20/32.png) [@patrickkunz](https://forum.juce.com/u/patrickkunz)\
**Post date:** [April 23, 2015, 9:00am UTC](https://forum.juce.com/t/yosemite-and-juce-plugins/13757/26 "2015-04-23T09:00:00Z")

</div>

Hi Fabian

Thanks a lot for the fast feedback. Your fix also works for cubase 6.&nbsp;

PluginHostType

I have changed isCubase7orLater to IsCubase6orLater and removed the cubase 6 exclusion:

```
bool isCubase6orLater() const noexcept   { return isCubase() && ! (type == SteinbergCubase4 || type == SteinbergCubase5 ); }
```

Thanks.

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [April 23, 2015, 9:19am UTC](https://forum.juce.com/t/yosemite-and-juce-plugins/13757/27 "2015-04-23T09:19:30Z")

</div>

I suspect this is causing a memory leak in Cubase 6 though. We will try to find a more elegant solution and keep you posted.

---

<div class="post-metadata">

**Author:** ![davidguda](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@davidguda](https://forum.juce.com/u/davidguda)\
**Post date:** [November 9, 2015, 8:57pm UTC](https://forum.juce.com/t/yosemite-and-juce-plugins/13757/28 "2015-11-09T20:57:16Z")

</div>

Resurecting old thread, I'm having this issue with juce 4.0.1. and Ableton Live 8.2.8 32 bi on mac OSX 10.11.1

The trick of removing the guts of removeWindowHidingHooks works but I presume it was written for a reason.

Is this the recommended fix?

Has anyone seen any issues after having that part removed?

&nbsp;

---

<div class="post-metadata">

**Author:** ![davidguda](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@davidguda](https://forum.juce.com/u/davidguda)\
**Post date:** [November 15, 2015, 2:34pm UTC](https://forum.juce.com/t/yosemite-and-juce-plugins/13757/29 "2015-11-15T14:34:30Z")

</div>

Did you find a more elegant solution? Will there be a fix in upcoming JUCE versions for this?

---

<div class="post-metadata">

**Author:** ![yfede](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yfede/32/506_2.png) [@yfede](https://forum.juce.com/u/yfede)\
**Post date:** [December 6, 2015, 12:03pm UTC](https://forum.juce.com/t/yosemite-and-juce-plugins/13757/30 "2015-12-06T12:03:52Z")

</div>

bump: having this problem right now

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [December 7, 2015, 12:02pm UTC](https://forum.juce.com/t/yosemite-and-juce-plugins/13757/31 "2015-12-07T12:02:56Z")

</div>

This is an old thread with many things on it, some of which are fixed. Would make more sense to start a new thread so we know which bit of it you're trying to bump.

[Previous page](https://forum.juce.com/t/yosemite-and-juce-plugins/13757.md?page=1)
