> On 11/01/2016 18:44, Motti Shneor wrote:
> You want the Even Better Authorization Sample Code rather than SMJobBless.
> 
> John

        I don't think he does.

        The E. B. A. S. C. relies on AEWP, which is utterly, hopelessly, 
unspeakably deprecated.

        He does in fact want to use SMJobBless, which is Apple's current, and 
only, blessed paradigm for executing tasks with elevated privileges from a 
"normal" app.

        The problem with "SMJobBless" is that it is one of the strangest bits 
of sample code ever to be hosted by Apple, in that it builds and runs but 
doesn't actually *do* anything.

        I recommend that OP get the "SMJobBlessXPC" sample code, which builds 
upon "SMJobBless", and actually does something provable, and gives him avenues 
to debug.

        About the code signing, yes-- it is persnickety and finicky… but that's 
code signing.  Don't change anything in the sample code until you have it 
working, then change only the name of your host app, confirm, then change only 
the value of your code sign, confirm, etc 
        


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to