# Mojave compatibility

**URL:** <https://forum.juce.com/t/mojave-compatibility/29776>\
**Category:** General JUCE discussion\
**Created:** [October 9, 2018, 8:34am UTC](https://forum.juce.com/t/mojave-compatibility/29776 "2018-10-09T08:34:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lalala](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/lalala/32/8577_2.png) [@lalala](https://forum.juce.com/u/lalala)\
**Post date:** [October 9, 2018, 8:34am UTC](https://forum.juce.com/t/mojave-compatibility/29776/1 "2018-10-09T08:34:14Z")

</div>

just to make a dedicated thread listing potential mojave compatibility issues.

From what I saw in other threads, there are potential issues with :

- transparent calloutBoxes: cf [Calloutbox in Mojave broken?](https://forum.juce.com/t/calloutbox-in-mojave-broken/29748)

- cameraDevice: cf [CameraDevice broken in macOS Mojave (10.14)](https://forum.juce.com/t/cameradevice-broken-in-macos-mojave-10-14/29500)

Anything else?

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [October 9, 2018, 9:01am UTC](https://forum.juce.com/t/mojave-compatibility/29776/2 "2018-10-09T09:01:16Z")

</div>

They’re both fixed on the develop branch.

There’s another nasty `Image` issue, addressed as part of this commit:

> <https://github.com/WeAreROLI/JUCE/commit/b66f78bacff656fbb0dcf7f86d74567443de8081>

---

<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:** [October 9, 2018, 10:16am UTC](https://forum.juce.com/t/mojave-compatibility/29776/3 "2018-10-09T10:16:38Z")

</div>

> [@t0m](#):
>
> There’s another nasty `Image` issue, addressed as part of this commit:

Can you provide a little information about that issue?  
It seems my software is compatible but i would like to know if there are (possible) problems with already build software (at costumers side), if there is a need to provide updates for Mojave.

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [October 9, 2018, 1:29pm UTC](https://forum.juce.com/t/mojave-compatibility/29776/4 "2018-10-09T13:29:33Z")

</div>

When you build using the 10.14 SDK the CoreGraphics internals will occasionally read past the end of the space we’ve allocated for image data. I can’t think why this would be necessary…

> [@Image problem after xCode update](https://forum.juce.com/t/image-problem-after-xcode-update/29504):
>
> Hi I ran into a problem after updating xCode to version 10.0 The problem is in my MacOS application version only. The same app runs without issues on Windows. It seems that drawing images that has been clipped (sometimes) makes the app crash. I can reproduce the issue by adding a few lines of code to the DemoRunner project. In the IntroScreen class I add these lines to the paint method: Image artistImage =ImageFileFormat::loadFrom(String("/Users/Shared/Projects/JUCE/examples/DemoRunner/Sou…

---

<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:** [October 9, 2018, 1:57pm UTC](https://forum.juce.com/t/mojave-compatibility/29776/5 "2018-10-09T13:57:31Z")

</div>

Thanks for clarification!

---

<div class="post-metadata">

**Author:** ![matkatmusic](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@matkatmusic](https://forum.juce.com/u/matkatmusic)\
**Post date:** [October 10, 2018, 7:29am UTC](https://forum.juce.com/t/mojave-compatibility/29776/6 "2018-10-10T07:29:38Z")

</div>

> [@t0m](#):
>
> When you build using the 10.14 SDK the CoreGraphics internals will occasionally read past the end of the space we’ve allocated for image data. I can’t think why this would be necessary…

I think a lot of people would benefit from knowing how you figured this out when you came up with your bug fix in the develop branch (thank you, by the way). If you had some time, I’m sure a lot of us would love to know how you diagnosed a flaw in Apple’s CoreGraphics internals!

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [October 11, 2018, 8:18am UTC](https://forum.juce.com/t/mojave-compatibility/29776/8 "2018-10-11T08:18:31Z")

</div>

There was nothing too clever about it. I just took JohnParbo’s test case, tweaked it until I got a very reproductible issue in the Address Sanitizer, then looked at the info provided by that.

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [October 11, 2018, 8:24am UTC](https://forum.juce.com/t/mojave-compatibility/29776/9 "2018-10-11T08:24:54Z")

</div>

Another Mojave issue to be aware of: the (perfectly valid!) icns icons file generated by the Projucer when using source images that are smaller than 256 x 256 px will not render correctly.

The fix is here:

> <https://github.com/WeAreROLI/JUCE/commit/6626462908564491f4476bd9cf983c0e8ecd5797>
