-1

In my app I have some swift code that require elevated privileges (to perform some IO Connection - IOConnectCallStructMethod). I searched a lot on internet, and between 10-years old information, or some methods with helpers, I wonder if there was an Apple recommended way to perform so. I don't intend to distribute my code, it's for pure own need.

Laurent Crivello
  • 3,809
  • 6
  • 45
  • 89

1 Answers1

0

Found it with the use of helpers thanks to this excellent guide: https://www.woodys-findings.com/posts/cocoa-implement-privileged-helper

Laurent Crivello
  • 3,809
  • 6
  • 45
  • 89