Hi,
I am writing (trying at least) a GUI for a 3rd party app that runs from the command line. Running the 3rd party app from the command line is not a problem and it is located under /Applications/.../someapp. This someapp takes a list of arguments and produces a text file with a result of a computation.
I tried different methods such as NSTask (now Process()) but that doesn't work from outside XCode. It seems that the only way now to call a 3rd party command line app is to use XPC. If there are other methods that work since Sierra came out, I'll be grateful to learn about that.
Could someone please give a to-the-point steps to implement the use of XPC in Swift...really hands on steps please.
There are plenty of XPC documentation out there but none gives me the needed details to get the above done.
Also, it is not important to me if my app is signed, sandboxed or not, but I am not planning on distributing it on the App store at this stage.
Thanks for your help.