Thanks for responding Eskimo. How am I supposed to run elevated privileged actions through my Preference Pane then? I need to create startup directories and files within /Library/StartupItems and need root access to do this. On 05/03/2012, at 11:53 PM, Quinn The Eskimo! wrote:
On 4 Mar 2012, at 07:35, Prime Coderama wrote:
When I run my Preference Pane, I am getting this error:
Errors in the kSMErrorDomainFramework domain are listed in <ServiceManagement/SMErrors.h>. In this case you've hit kSMErrorToolNotValid.
I writing a PreferencePane project and created a helper tool to perform actions that required an elevated privilege.
Currently you can only use SMJobBless from an app; it does not work from a preferences pane <rdar://problem/10015856>.
Share and Enjoy -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________ launchd-dev mailing list launchd-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/launchd-dev