How do we create a helper tool for macOS in Swift?
I want to create a helper app that has elevated privileges, so I can execute commands that will modify user defaults. I can't do this standalone in the app due as this will cause security issue. I can't find any docs related to helping build a helper tool using IPC or XPC or using Authorisation Services in this scenario.
Does anyone here happened to know how to build them?