I'm trying to remove a privileged helper tool installed through SMJobBless
, I get a positive return value and no errors, but the files in / Library / PrivilegedTools and / Library / LaunchDaemons are not deleted. Do I have to delete these files myself?
From the documentation I read:
The return value is true if the job was successfully deleted, otherwise false.
I call the following to delete the job: result = SMJobRemove(kSMDomainSystemLaunchd, (__bridge CFStringRef)label, _authRef, YES, &errorCF);
source share