• 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
Yet another privileged-helper-tool question: how to launch from a system-preferences panel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Yet another privileged-helper-tool question: how to launch from a system-preferences panel?


  • Subject: Yet another privileged-helper-tool question: how to launch from a system-preferences panel?
  • From: Motti Shneor <email@hidden>
  • Date: Wed, 13 Jan 2016 11:42:19 +0200

Hi.

I tried to modify the SMJobBless sample from Apple to use a System-Preference panel, instead of an independent Cocoa App, to launch a privileged launchd daemon.

I build both the preferences panel and my helper tool in the same way, and apply (using the attached python script) the “trust” entries of both info.plist files (of my preferences panel and the helper tool). It all runs - but fails to launch the daemon.

I suspect it is because my Preferences panel, although being a code bundle - is loaded and runs inside of the “System Preferences” application, which both my helper-tool doesn’t trust, and doesn’t trust my helper tool.

Now — of course I cannot modify the “System Preferences” application’s info.plist. What then can I do? Idea anyone?

Motti Shneor

_______________________________________________

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


  • Follow-Ups:
    • Re: Yet another privileged-helper-tool question: how to launch from a system-preferences panel?
      • From: Damien DeVille <email@hidden>
  • Prev by Date: Re: Settings.bundle settings disappear while running
  • Next by Date: Re: Panes vs. Separate Windows
  • Previous by thread: Re: Settings.bundle settings disappear while running
  • Next by thread: Re: Yet another privileged-helper-tool question: how to launch from a system-preferences panel?
  • Index(es):
    • Date
    • Thread