I'm deploying an app to MacOS via PAServer. The application starts and works well through PAServer but when i click the app package inside scratch-dir it doesn't start and i get the following message:
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: libftd2xx.dylib
Referenced from: <CD2148C0-F76F-35D5-8E65-2BE51F201302> /Users/USER/*/App_Editor.app/Contents/MacOS/App_Editor
Reason: tried: 'libftd2xx.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibftd2xx.dylib' (no such file), 'libftd2xx.dylib' (no such file), '//libftd2xx.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS//libftd2xx.dylib' (no such file), '//libftd2xx.dylib' (no such file)
(terminated at launch; ignore backtrace)
the application uses D2XX library from FTDI which i've installed following their instructions to usr/local/lib
when app starts (either from PaServer or executable inside package) i get no error and library works.
I just don't know why the library is apparently missing on package run.
Tried everything and i'm now short of ideas. Other applications have no issues.