# Logic 10.7.5 reporting wrong host?!?!

**URL:** <https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658>\
**Category:** General JUCE discussion\
**Created:** [November 7, 2022, 9:08am UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658 "2022-11-07T09:08:20Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![alejocazu](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@alejocazu](https://forum.juce.com/u/alejocazu)\
**Post date:** [November 7, 2022, 9:08am UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/1 "2022-11-07T09:08:20Z")

</div>

Hi there,

I just realised the latest version of Logic is giving me a wrong Host report ONLY in Native mode (Garageband), Rossetta works fine.

How can I fix this? I use isLogic() for some of the functionalities of one of my plugins when is loaded in Logic…

To reproduce, I created a callback and added the following code:

```auto
    juce::String isLogic = "NO";
    if (juce::PluginHostType().isLogic())
        isLogic = "YES";
    juce::String debugThis = "isLogic " + isLogic + " host " + juce::PluginHostType().getHostDescription();
    metresOutputTitle.setText(debugThis, juce::dontSendNotification);

```

When loaded in native mode, the reported text is:  
 ![Screenshot 2022-11-07 at 11.06.37 AM](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/5/5a6d53087adfc5cf8448b40e61a33fe72558c0f8.png)

When loaded in rosetta mode, the text as follows:  
 ![Screenshot 2022-11-07 at 11.01.06 AM](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/6/6446ada72323ad84799a43a84453cba2b0349b7e.png)

The wrong report happens both in Juce 6.1.6 and in Juce 7.0.2

---

<div class="post-metadata">

**Author:** ![yairadix](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yairadix/32/1114_2.png) [@yairadix](https://forum.juce.com/u/yairadix)\
**Post date:** [November 7, 2022, 9:34am UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/2 "2022-11-07T09:34:58Z")

</div>

On which JUCE commit are you? Do you get the same also on the latest commit on `develop`?

---

<div class="post-metadata">

**Author:** ![alejocazu](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@alejocazu](https://forum.juce.com/u/alejocazu)\
**Post date:** [November 7, 2022, 9:35am UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/3 "2022-11-07T09:35:58Z")

</div>

Juce 6.1.6

---

<div class="post-metadata">

**Author:** ![yairadix](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yairadix/32/1114_2.png) [@yairadix](https://forum.juce.com/u/yairadix)\
**Post date:** [November 7, 2022, 9:39am UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/4 "2022-11-07T09:39:02Z")

</div>

In that case I would guess that since then something has changed on Apple’s side (like maybe Logic no longer hosts plugins in-process) and that the fixed host detection is probably in JUCE for a while already.

---

<div class="post-metadata">

**Author:** ![alejocazu](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@alejocazu](https://forum.juce.com/u/alejocazu)\
**Post date:** [November 7, 2022, 9:43am UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/6 "2022-11-07T09:43:58Z")

</div>

So I just tried compiling using JUCE 7.0.2 and still get the wrong host…

---

<div class="post-metadata">

**Author:** ![vallant](https://avatars.discourse-cdn.com/v4/letter/v/c57346/32.png) [@vallant](https://forum.juce.com/u/vallant)\
**Post date:** [November 7, 2022, 9:46am UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/7 "2022-11-07T09:46:14Z")

</div>

I had some problems with rosetta too a while back, this might be related.

> [@macOS version detection does not work reliably](https://forum.juce.com/t/macos-version-detection-does-not-work-reliably/53010):
>
> Hello, we’ve been receiving reproducible bug reports from users that updated to the latest macOS 13 Beta on M1 systems related to file system errors. It seems like our Plug-ins that are loaded into ARM-native DAWs are not able to access the file system, specifically the ~/Library/Application Support folder cannot be written to or read from. This behaviour seems to be consistent across Plug-in Formats and DAWs (tested with Reaper and Logic). Obviously I’ve checked the permissions of the folder…

---

<div class="post-metadata">

**Author:** ![hugoderwolf](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/hugoderwolf/32/14039_2.png) [@hugoderwolf](https://forum.juce.com/u/hugoderwolf)\
**Post date:** [November 7, 2022, 10:06am UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/8 "2022-11-07T10:06:46Z")

</div>

I can confirm, as my version info dialog shows the reported host, and since 10.7.5 it really says “Apple Garageband”. With Rosetta, it still says “Apple Logic”. That’s odd! With 10.7.4 it was as expected.

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [November 7, 2022, 1:03pm UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/9 "2022-11-07T13:03:31Z")

</div>

This appears to be caused by a bug (?) in Logic. The PluginHostType uses the host name returned from the kAudioUnitProperty\_AUHostIdentifier property in the AU wrapper. In Logic 10.7.5, this name is “com.apple.garageband” instead of “com.apple.logic.pro”.

---

<div class="post-metadata">

**Author:** ![mfritze](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mfritze/32/9008_2.png) [@mfritze](https://forum.juce.com/u/mfritze)\
**Post date:** [November 7, 2022, 5:03pm UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/10 "2022-11-07T17:03:03Z")

</div>

Sorry for that, that is indeed a bug in the latest Logic Pro version. We are looking into that right now.

---

<div class="post-metadata">

**Author:** ![alejocazu](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@alejocazu](https://forum.juce.com/u/alejocazu)\
**Post date:** [November 8, 2022, 8:17am UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/11 "2022-11-08T08:17:58Z")

</div>

Thank you! I lost so much time trying to find a bug in a plugin, that wasn’t even my bug 🙂

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [December 15, 2022, 1:01pm UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/12 "2022-12-15T13:01:13Z")

</div>

It looks like the issue is still present in 10.7.6.

---

<div class="post-metadata">

**Author:** ![alejocazu](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@alejocazu](https://forum.juce.com/u/alejocazu)\
**Post date:** [December 15, 2022, 1:23pm UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/13 "2022-12-15T13:23:29Z")

</div>

Amazing… I completely gave up hope and simply added “if it’s logic or garage band”…

---

<div class="post-metadata">

**Author:** ![yairadix](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yairadix/32/1114_2.png) [@yairadix](https://forum.juce.com/u/yairadix)\
**Post date:** [December 15, 2022, 8:53pm UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/14 "2022-12-15T20:53:19Z")

</div>

I saw people complaining on the internet that Apple turned Logic to GarageBand. I guess they really did?

---

<div class="post-metadata">

**Author:** ![mfritze](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mfritze/32/9008_2.png) [@mfritze](https://forum.juce.com/u/mfritze)\
**Post date:** [December 22, 2022, 5:01pm UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/15 "2022-12-22T17:01:21Z")

</div>

10.7.6 was a highly targeted release to fix two very specific issues, so the fix did not make it into that release.

Just curious: why do you even need to know the host?

---

<div class="post-metadata">

**Author:** ![yairadix](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yairadix/32/1114_2.png) [@yairadix](https://forum.juce.com/u/yairadix)\
**Post date:** [December 22, 2022, 5:12pm UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/16 "2022-12-22T17:12:34Z")

</div>

In general it may often be used to enable host-specific workarounds, for example see [New Logic Pro 10.1 sample position bug](https://forum.juce.com/t/new-logic-pro-10-1-sample-position-bug/14203)

---

<div class="post-metadata">

**Author:** ![alejocazu](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@alejocazu](https://forum.juce.com/u/alejocazu)\
**Post date:** [December 22, 2022, 5:15pm UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/17 "2022-12-22T17:15:41Z")

</div>

It’s funny that you mention that, since the ‘Host Report’ giving the wrong DAW name, to me, is a very important mistake that probably needs 20 seconds to be fixed 🙂

But yeah, In my (short) experience, I’ve noticed developing for Logic is quite cumbersome and have had to apply workarounds… Can it be because I am a noob? Most probably, but it is what it is… 😛

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [January 31, 2023, 10:25am UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/18 "2023-01-31T10:25:40Z")

</div>

Still present in 10.7.7 too.

---

<div class="post-metadata">

**Author:** ![gphofa](https://avatars.discourse-cdn.com/v4/letter/g/3ec8ea/32.png) [@gphofa](https://forum.juce.com/u/gphofa)\
**Post date:** [May 24, 2023, 10:41am UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/19 "2023-05-24T10:41:41Z")

</div>

It seems that is was now fixed in Logic 10.7.8.

---

<div class="post-metadata">

**Author:** ![mfritze](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mfritze/32/9008_2.png) [@mfritze](https://forum.juce.com/u/mfritze)\
**Post date:** [June 1, 2023, 11:25am UTC](https://forum.juce.com/t/logic-10-7-5-reporting-wrong-host/53658/20 "2023-06-01T11:25:48Z")

</div>

Yes, it slipped through the 10.7.7 release. But 10.7.8 fixes it. If it is interesting: it was a side-effect of our changes for Logic Pro for iPad.
