Impossible to interact with Finder in a manner compliant with App Sandboxing

Originator:ryan
Number:rdar://24841953 Date Originated:25-Feb-2016 11:26 AM
Status:Open Resolved:
Product:OS X SDK Product Version:10.11
Classification:Enhancement Reproducible:Always
 
Summary:
Finder provides an AppleScript dictionary. Because this dictionary has never been updated with access groups like some other system-provided applications (e.g., Mail), interfacing with it requires using the temporary entitlement “com.apple.security.temporary-exception.apple-events”. Apps using this entitlement are rejected:

2.31

We've determined that one or more temporary entitlement exceptions requested for this app are not appropriate and will not be granted:

com.apple.security.temporary-exception.apple-events - com.apple.finder

We understand this may prevent the app from being approved for the Mac App Store. We encourage you to investigate other ways of implementing the desired functionality. 

Steps to Reproduce:
1. Create an app with the entitlement “com.apple.security.temporary-exception.apple-events” for “com.apple.finder”.
2. Try to get it to pass App Review.

Expected Results:
The ability to interface with Finder using the entitlement “com.apple.security.scripting-targets” and pas App Review.

Actual Results:
The app was rejected.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!