LOGIC: version invalid on built plugins in Plugin Manager
-
@DanH LOGIC: version invalid on built plugins in Plugin Manager is no more :)
-
@ulrik 🥳
-
@Christoph-Hart said in LOGIC: version invalid on built plugins in Plugin Manager:
@dustbro I could add a Linker flag field in the Project Settings if this is the only thing keeping you from automated builds.
Do the auto build in MacOS make Universal Binaries by default? Or is there a setting to turn that on?
-
@dustbro Yes it's by default.
-
@dustbro Needs to be Xcode 11 or later I think
-
@Christoph-Hart I can also confirm that it's working, thank you!
-
@d-healey Are you sure? When I compile Intel/Silicon direct from Xcode my binary is 200mb. When I export via HISE auto build the binary is 70mb.
I'm exporting from an Intel machine if that makes a difference. -
@dustbro When you compile in Xcode are you selecting build for running?
-
@d-healey Build configuration is "Release"
-
@dustbro How are you starting the build in Xcode?
-
@d-healey Apple+B
-
@d-healey I don't think it's universal.
Here's what the autogenerated project looks like when I export from HISE:
And here's what it looks like when I export from Projucer:
-
@dustbro I'm suspicious that your building a debug build 200mb is quite large. My universal builds are around 50-70mb. Are you embedding audio files/images?Are you building AAX too? That might be the issue.
-
@d-healey I building all formats. The binary should be 2X the size of a normal binary cause it contains both ARM and x86 data.
-
@dustbro If you build just a VST does it generate a universal binary? If so then it's the AAX export that is causing it to only build for Intel.
-
@d-healey Excellent suggestion. Exporting VST alone creates an Intel/Silicon xcode project.
So it looks like I have export VST+AU, then a separate AAX. -
@dustbro Yes I've added a check to remove ARM builds when AAX is enabled so you definitely need to build it apart from the others.
https://github.com/christophhart/HISE/commit/a0080508724a58b0464c06b8e7fe8e33a5efa757
-
@dustbro You should setup a build script to automate the whole thing, including codesigning and notariztion.
-
@Christoph-Hart said in LOGIC: version invalid on built plugins in Plugin Manager:
@d-healey I'll merge it when you make a pull request.