LOGIC: version invalid on built plugins in Plugin Manager
-
@d-healey in the Plugin Manager. But when you'll run auval like this:
auval -v aufx plugincode companycode
...you'll see version number as 0.0.0. You might have to change the aufx to something else, I'm running this on an FX plugin for a moment but for instruments it's going to have a different class here.
Plugin code is the 4-letter code in HISE, company code too.
-
@d-healey you can also run
auval -a
and it will list all installed plugins, giving you both the au type and other info
-
@tomekslesicki Hmm, might have been broken with the JUCE 6 update.
I'll take a look next week.
-
@Christoph-Hart thanks!
-
I'm getting the same result with my AU instrument plugin.
-
Just to add to this: the plist included in the .component file seems to have the proper version number (as set in HISE) but Logic doesn’t seem to care.
It’s on unviersal binaries, if it matters, but then I’m not sure if anybody would want to export non-M1 native at this point anyway ;-)
-
@tomekslesicki It's on non-universal binaries too
-
@Christoph-Hart did you manage to take a look at this this week?
-
@Christoph-Hart it would be great to have this fixed!
-
Ok, I have some more intel. I updated XCode to 13.4 and macOS to 12.4 and things are both better and worse. The worse first: when I build the plugin, I get this:
❌ clang: error: unable to execute command: Abort trap: 6 ❌ clang: error: linker command failed due to signal (use -v to see invocation)
I can't build the latest develop version of HISE either but I'm just using my backup copy from April 24th.
Now the good part: if I open the autogenerated Jucer file and build it for Native Architecture Of Build Machine, it builds fine AND the plugin version is displayed correctly in auval at last!
...but I guess the Native Architecture Of Build Machine is M1 only and won't work on Intel macs, right? Because my mac is M1 so that would kind of make sense?
-
@tomekslesicki Looks very similar to this error I was getting (on my Intel Mac Mini). My solution was to roll back to an earlier version of Xcode.
https://forum.hise.audio/topic/5695/llvm-error-building-on-osx
-
Running into this issue as well. Starting to get complaints from Logic users because it has to rescan the plugin every time due to the version being “invalid”
-
@Casey-Kolb All I could find online so far: https://forum.juce.com/t/au-plugin-version-in-logic-pro-x/46992/4
Would be great to get this fixed :)
-
@DanH the commit from 30th November 2021 works fine fyi - I just happened to have that still on my machine
-
Ok, I have a little breakthrough:
The last XCode that can build plugins or HISE at the moment is 13.2.1
When the AU is built from HISE, the AU version is not written properly and auval can't process it.
When the AU is built from the autogenerated projucer file, everything is fine.
-
@tomekslesicki Great news, we're getting close (I can't find anything in the source code so I think it might have something to do with the build tools).
What happens if you run the batch file (
Builds/batchCompileOSX
) manually? Does the AU version work then or do you need to go into Xcode for compilation? It might be the case that the command line build tools (xcodebuild
) is using a different Xcode version, otherwise there shouldn't be too much difference.You can check this with a terminal command:
https://stackoverflow.com/questions/7016307/which-version-of-xcode-does-xcodebuild-use
Is it the same version than you're using manually?
-
Or are you using a different Projucer binary than the one shipped with HISE?
-
@Christoph-Hart I'm using a different Projucer to compile, the one that came with HISE can't be run and I remember there's a way to hack that but I just downloaded a copy from JUCE back in December I guess. Here's what I'm using:
I only have XCode 13.2.1 installed, I remove all other copies not to get confused ;-)
-
I remember there's a way to hack that
It's just a permission issue. You have to run this command:
terminal command "xattr -cr" + path to projucer
But I have the same AU version problem with the same version of Xcode and Projucer from the HISE repo.
-
@d-healey I have the same problem as well.