LOGIC: version invalid on built plugins in Plugin Manager
-
@Christoph-Hart said in LOGIC: version invalid on built plugins in Plugin Manager:
I could add a Linker flag field in the Project Settings if this is the only thing keeping you from automated builds.
While you're at it you should add
<plist><dict><key>NSAppTransportSecurity</key><dict><key>NSAllowsArbitraryLoads</key><true/></dict></dict></plist>
To the custom plist section for xcode - it prevents issues when doing server stuff from HISE.
I already added it to my fork https://github.com/davidhealey/HISE/blob/development/hi_backend/backend/StandaloneProjectTemplate.cpp#L114
-
@dustbro: Actually, it's already there: just paste this into the
OSX StaticLibs
setting (won't work on Windows though@d-healey I'll merge it when you make a pull request.
-
@Christoph-Hart yes, that solved the issue! :)
-
@ulrik which one?!
-
@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.