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: John Brownie <email@hidden>
- Date: Tue, 12 Jan 2016 14:55:57 +1000
On 12/01/2016 14:08, Eden Smallwood wrote:
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
You're correct. I have some code which is adapted from EBAS, so the
comments misled me, as it's a couple of years since I got all that stuff
going.
Sorry for the confusion.
John
--
John Brownie, email@hidden or email@hidden
Summer Institute of Linguistics, Ukarumpa, Eastern Highlands Province,
Papua New Guinea
Mussau-Emira language, Mussau Island, New Ireland Province, Papua New Guinea
_______________________________________________
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