vst-rs icon indicating copy to clipboard operation
vst-rs copied to clipboard

M1 MacOS and Ableton

Open yamadapc opened this issue 1 year ago • 1 comments

After long trial and error I have found that Ableton Live only recognizes plugins if they are universal binaries.

For both this and https://github.com/RustAudio/vst3-sys, the dylibs must be compiled for both ARM and x86, otherwise they will not be recognized (only ARM won't work on native Apple Silicon Ableton it seems).

A script would be something to the effect of:

cargo build --target x86_64-apple-darwin
cargo build --target aarch64-apple-darwin
lipo -create ./target/x86_64-apple-darwin/debug/plugin.dylib  ./target/aarch64-apple-darwin/debug/plugin.dylib -output ./target/debug/plugin.dylib

file ./target/debug/plugin.dylib
# now use ./target/debug/plugin.dylib

yamadapc avatar Sep 13 '22 21:09 yamadapc