Closed fzwoch closed 9 months ago
I am seeing this same issue with 7.0.8 as a part of the github actions on my repo for a simple plug-in. https://github.com/mhhollomon/Starp
Adding Ninja didn't work for me.
/Users/runner/work/Starp/Starp/build/Source/Starp_artefacts/Release/VST3/Starp.vst3: code object is not signed at all
In architecture: x86_64
-- Replacing invalid signature with ad-hoc signature
/bin/sh: line 1: 5479 Segmentation fault: 11 /Users/runner/work/Starp/Starp/build/Source/juce_vst3_helper -create -version 0.2.0 -path /Users/runner/work/Starp/Starp/build/Source/Starp_artefacts/Release/VST3/Starp.vst3 -output /Users/runner/work/Starp/Starp/build/Source/Starp_artefacts/Release/VST3/Starp.vst3/Contents/Resources/moduleinfo.json
ninja: build stopped: subcommand failed.
Error: Process completed with exit code 1.
Adding this link to a thread in the forums for future searchers.
Adding VST3_AUTO_MANIFEST FALSE
to my juce_add_plugin call fixed it for me.
https://forum.juce.com/t/vst3-build-with-juce-7-0-6-on-macos-is-broken/57304
Probably addressed with https://github.com/juce-framework/JUCE/commit/3a33c70a6c815af5db425c36ed33dfde2a8f850a
This has been fixed for me even without the extra flag.
Detailed steps on how to reproduce the bug
Works fine with JUCE 7.0.5. Newer ones including
develop
seems broken. Probably only happens on Apple Silicon due to requirements that binaries are required to be signed. From what I have figured the issue comes fromjuce_vst3_helper
which tries to load the VST3 which fails because the VST3 at that point does not have any signature at all, note even a ad-hoc one.Issue does not occur when Apple's System Integration Protection is disabled (as it disabled requirement of having binaries with a signature). Issue does not occur when building with Ninja or Makefile generator.
What is the expected behaviour?
Successful build of VST3 plugins.
Operating systems
macOS
What versions of the operating systems?
macOS Ventura 13.6 Xcode 15.0 cmake version 3.27.6
Architectures
ARM
Stacktrace
Plug-in formats (if applicable)
VST3
Plug-in host applications (DAWs) (if applicable)
No response
Testing on the
develop
branchThe bug is present on the
develop
branchCode of Conduct