Recently I've migrated my project from Swift 4.2 to Swift 5 with XCode 10.2. While the app itself works fine, the command line application which I use as privileged helper tool(e.g. not in the app itself) can't link against swift standard libraries.
The exact error message that I have:
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /Library/PrivilegedHelperTools/./com.myawesomeprogram.internal.HelperTool
Reason: image not found
Before upgrading everything worked as intended.
Has anyone faced similar problem?