I am currently working on a package manager. I currently am trying to find a way to call in apt within an app in Swift.
The main issue is that Command Line cannot be called; I use StoryBoards to build the app, and thus do not have access to some properties given if written manually.
As I am working on it in a way it will not break in iOS 13, I use the latest Xcode; and thus the latest version of Swift.
I have tried NSTask; this can never be found; not in a class, not in a new object, not on his own, not in AppDelegate.
I have tried Process(); this doesnt seem to exist in this version
I have tried posix_spawn. This gave me hope because I could build it, but it did nothing. I tried to Log the output, and it returned empty.
Could the issue be that the Application needs additional permissions, and if so, in what way can I gain these permissions?