Version 1.5, 2013-09-17
Set SKIP_INSTALL on the helper tool target so that the app archives properly (r. 14843533).
(Full Revision History)
Xcode 4.6 or later
OS X v10.6 or later
SMJobBless demonstrates how to securely install a helper tool that performs a privileged operation and how to associate the tool with an application that invokes it.
SMJobBless uses ServiceManagement.framework that was introduced in Mac OS X v10.6 Snow Leopard.
As of Snow Leopard, this is the preferred method of managing privilege escalation on Mac OS X and should be used instead of earlier approaches such as BetterAuthorizationSample or directly calling AuthorizationExecuteWithPrivileges.