I think the problem with your code is in the line of your code:
if( ![self isAuthenticated:[NSArray arrayWithObject:commandFromPS]] ) {
[self authenticate:[NSArray arrayWithObject:commandFromPS]];
You are authenticating the wrong thing. You are trying to
authenicate the file, but you want to
Hi All,
I'm implementing the cocoa application using objective-c. Now my
requirement is to restart my launchd daemon service.
I've tried using authorization services to perform the previlaged
unload of daemon , but didn't succeed in this.
Please help me to solve this.T