How can I know the Apple Event Access Groups used by an application?

北慕城南 提交于 2019-11-29 08:03:09

Apple Events from sandboxed apps is typically done with Apple Script. There is documentation for the entitlement needed here:

https://developer.apple.com/library/ios/Documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/EnablingAppSandbox.html#//apple_ref/doc/uid/TP40011195-CH4-SW25

To find which app provides access groups is a bit of a hassle and there aren't many available. Use terminal and sdef to find out. this will give you an XML which you can read and look for access-group

eg in Console:

sdef /Applications/Mail.app > mail.sdef.xml
open mail.sdef.xml 

Then you'll see the line

<access-group identifier="com.apple.mail.compose" access="rw"/>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!