Re: Cocoa-dev Digest, Vol 13, Issue 14
Re: Cocoa-dev Digest, Vol 13, Issue 14
- Subject: Re: Cocoa-dev Digest, Vol 13, Issue 14
- From: Eden Smallwood <email@hidden>
- Date: Mon, 11 Jan 2016 20:08:19 -0800
> 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 (email@hidden)
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:
This email sent to email@hidden