M1 MacOS and Ableton
yamadapc opened this issue · 1 comments
yamadapc commented
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
nikhilunni commented
you are a lifesaver!!