SMJobBless only works with kSMDomainSystemLaunchd, needs kSMDomainUserLaunchd
The docs state that with SMJobBless you can only use kSMDomainSystemLaunchd
SMJobBless(kSMDomainSystemLaunchd, (CFStringRef)label, authRef, (CFErrorRef *)error);
But how do I create a LaunchAgent inside LaunchAgents / in the user library that is executed when the user logs in using SMJobBless or similar approach?
source to share
No one has answered this question yet
Check out similar questions: