• 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
Application name in AXIsProcessTrustedWithOptions alert
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Application name in AXIsProcessTrustedWithOptions alert


  • Subject: Application name in AXIsProcessTrustedWithOptions alert
  • From: Bill Cheeseman <email@hidden>
  • Date: Fri, 21 Mar 2014 14:04:51 -0400

In Mavericks, the system alert presented by the new AXIsProcessTrustedWithOptions function usually names the application that calls the function as the application that must be granted access in the Accessibility list in the Privacy tab of Security & Privacy preferences. 

However, when I am running the application in Xcode during development, the alert names "Xcode" as the application that must be granted access. And, indeed, granting access to Xcode allows the application to use accessibility functions during development.

How does the system determine that Xcode is the application that must be granted access? I asked this question a while ago and don't recall getting a definitive answer. Today, I have explored whether the AXIsProcessTrustedWithOptions function gets the parentPSN of the application by calling the ProcessInformationCopyDictionary function, or whether it gets the Unix parent process by calling the getppid function. Neither of them seems to do the job.

Does anybody know how the system determines what application must be granted access in these circumstances?

-- 

Bill Cheeseman - email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Enabling scrolling (when the scroll area is a child of a list)
  • Next by Date: [ANN] New version 1.0.8 of Accessibility Testbench
  • Previous by thread: AXShownMenu / NSPopUpButton
  • Next by thread: [ANN] New version 1.0.8 of Accessibility Testbench
  • Index(es):
    • Date
    • Thread