Runtime Search Path for plugins?

I am trying to link the Paddle framework to a plugin on Mac. In a standalone app I have LD_RUNPATH_SEARCH_PATHS set to @executable_path/../Frameworks. I’m trying to work out what the equivalent would be for a plugin. The actual path to the bundled framework for a VST is:


From reading,@load_path_and@rpath it should be @loader_path/../Frameworks but this is not working for me. Any clues?

Looks like for some reason it needs to be exported as an archive from Xcode; I was testing with a release build via “Build for Profiling”.

I can confirm that @loader_path/../Frameworks does in fact work!