Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

M1 MacOS and Ableton #190

Open
yamadapc opened this issue Sep 13, 2022 · 1 comment
Open

M1 MacOS and Ableton #190

yamadapc opened this issue Sep 13, 2022 · 1 comment

Comments

@yamadapc
Copy link

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
Copy link

you are a lifesaver!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants