I’ve been busy writing some command line tools in Swift 4, Xcode 10.1 - with great success. I’ve included the new Utility Library etc.
Run’s all fine on my own Mac but I cannot get them to run on my non-development Mac.
Simply put - it’s the issue of the libraries not being linked into the executable. I’ve read a few pages about how to address this with a Bundle structure, but I’ve not actually been able to get it working.
Just wondering if someone has a solid tutorial that they can share. Something that shows how to set up a new command line project that will output a full Bundle with the command line tool and the required libraries / dependancies included.
I noted that the existing excellent command line tool tutorial (https://www.raywenderlich.com/511-command-line-programs-on-macos-tutorial) doesn’t include any of this - perhaps an update to that would be helpful?