3

SMJobBless is for Privileged Helper tool, but what should I do if I want to have launchd plist to get copied to /Users/<user>/Library/LaunchAgents. I do not want to enter any user password to install the helper tool.

pmdj
  • 22,018
  • 3
  • 52
  • 103
a k
  • 531
  • 5
  • 15

1 Answers1

0

Your app should already be able to create launchctl processes and have write access to /Users/<user>/Library/LaunchAgents, so can't you just do it directly instead of trying to use SMJobBless()?

pmdj
  • 22,018
  • 3
  • 52
  • 103