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:
juce::String isLogic = "NO";
isLogic = "YES";
juce::String debugThis = "isLogic " + isLogic + " host " + juce::PluginHostType().getHostDescription();
When loaded in native mode, the reported text is:
When loaded in rosetta mode, the text as follows:
The wrong report happens both in Juce 6.1.6 and in Juce 7.0.2
On which JUCE commit are you? Do you get the same also on the latest commit on
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.
So I just tried compiling using JUCE 7.0.2 and still get the wrong host…
I had some problems with rosetta too a while back, this might be related.
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…
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.
November 7, 2022, 1:03pm
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”.
November 7, 2022, 5:03pm
Sorry for that, that is indeed a bug in the latest Logic Pro version. We are looking into that right now.
Thank you! I lost so much time trying to find a bug in a plugin, that wasn’t even my bug
December 15, 2022, 1:01pm
It looks like the issue is still present in 10.7.6.
Amazing… I completely gave up hope and simply added “if it’s logic or garage band”…
I saw people complaining on the internet that Apple turned Logic to GarageBand. I guess they really did?
December 22, 2022, 5:01pm
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?
In general it may often be used to enable host-specific workarounds, for example see
New Logic Pro 10.1 sample position bug
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…
January 31, 2023, 10:25am
Still present in 10.7.7 too.
May 24, 2023, 10:41am
It seems that is was now fixed in Logic 10.7.8.
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.