• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa-dev Digest, Vol 13, Issue 14
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Cocoa-dev Digest, Vol 13, Issue 14 (From: Eden Smallwood <email@hidden>)

  • Prev by Date: Re: Cocoa-dev Digest, Vol 13, Issue 14
  • Next by Date: Re: Panes vs. Separate Windows
  • Previous by thread: Re: Cocoa-dev Digest, Vol 13, Issue 14
  • Next by thread: Weird Message from NSZombies
  • Index(es):
    • Date
    • Thread