LOGIC: version invalid on built plugins in Plugin Manager
-
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.
-
OK, just to summarize:
- Xcode versions do not matter
- if you open the Autogenerated file in the Projucer shipped with HISE, it doesn't work.
- if you open the Autogenerated file with a Projucer built from JUCE directly, it works.
Does it also work with the Projucer 6.1.3 from the JUCE repo? Using a 6.1.4 Projucer with a 6.1.3 JUCE codebase might lead to other issues.
-
- I wouldn't say XCode doesn't matter - nothing will build on versions newer than 13.2.1 ;-)
- it works with the Projucer that comes with HISE, I just tested so I'm not going to test the other Projucer build to save some time
- it doesn't work when building from HISE - I need to manually open the autogenerated projucer project and build from that to get the version embedded
-
@tomekslesicki @Christoph-Hart using the projucer that come with HISE (6.1.3) doesn't work for me. I can't find the one from the JUCE repo - can anyone link me?
-
-
@ustk at the risk of sounding rather silly, I can't see a way to download the project in order to build it natively
-
@DanH gentle enquiry into if this fix is progressing... :)
-
@DanH Yep, getting loads of support tickets about this now. Starting to become a more pressing issue. Logic's rescan of CUBE on every open is starting to make the plugin look bad
-
I've gotten a few support tickets as well. Gonna try to take a look this weekend.
-
@Casey-Kolb @dustbro I had the same thing, the fastest temporary solution was to cancel the AU build in HISE, open the autogenetated Projucer file and build from there. It seems to write the version number properly this way and Logic doesn’t rescan it every time anymore.
-
@tomekslesicki that might depend on your version of Xcode / OS X. I’m on Mojave and Xcode 10.4 and this solution doesn’t work for me.
-
@DanH of course the best solution would be a proper fix by the one and only @Christoph-Hart
-
@tomekslesicki I‘m fishing in the dark as much as you since it has nothing to do with the source code but the build tools provided by Apple...
-
So for me it doesn't make a difference whether I'm aborting the HISE export or not, and I'm on macOS 11.2 with Xcode 12.
@tomekslesicki Can you make sure that if you open the Autogenerated Projucer file that it opens it with the same Projucer that is used by the batch export (the one in
HISE_ROOT/tools/projucer
? It might be possible that you have another Projucer binary floating around (from a more recent JUCE version) that will write the AU version properly.- Make sure that the Projucer isn't running and if yes, quit it over the context menu
- Open the Projucer from
tools/projucer
(should be 6.13 from 14.12.2021) - Remove the
Binaries/Builds
folder in your project, then open your autogenerated project file and click on Save to export - Build it in Xcode (Product -> Build for Profiling)
- Run auval to check the version (Logic is doing the same so if the version isn't reported correctly there it won't be in Logic).
-
@tomekslesicki I have always cancelled the builds in HISE because iLok requires extra Linker Flags to compile.
So we're looking at JUCE or Xcode.