Takaaki Naganoya tracked this down:
- Sending Apple events from an app—including script applets—now requires user approval. The list of currently approved apps can be viewed and edited in the Automation category in the Privacy tab in System Preferences > Security & Privacy. If an event is blocked because the user didn’t approve that app, the event will fail with the error code:
: Not authorized to send Apple events to<target>
"). An event can be preflighted using
- Scripting additions can no longer be globally installed. The
~/Library/ScriptingAdditionsdirectories are effectively ignored.Distribute scripting additions as part of a specific app by embedding the scripting addition in the app’s
Contents/Resources/Scripting Additionsdirectory and signing both the addition and the app with the same team identifier.