Can't load framework in Command Line Tool
onesentinel opened this issue · 1 comments
onesentinel commented
dyld: Library not loaded: @rpath/ShellOut.framework/Versions/A/ShellOut Referenced from: /Users/MYUSER/Library/Developer/Xcode/DerivedData/MyAppName-ekiclknclczpksfxqtybkeebjynw/Build/Products/Debug/SecurityHelper Reason: image not found (lldb)
Binary with Library is Linked
JohnSundell commented
You can't link to frameworks in a Command Line Tool. Either simply drag the file ShellOut.swift
into your Xcode project or use the Swift Package Manager to include it as a dependency 🙂. Please see the README for installation instructions 👍