Send Apple Event DO NOT show automation permission dialog when using JUCE GUI Application

I suspect you may need to declare that your app uses Apple Events in its plist:

https://developer.apple.com/documentation/bundleresources/information_property_list/nsappleeventsusagedescription?language=objc

If using the Projucer to manage your project, you can add this key to the “Custom Plist” field for the Xcode exporter. If using CMake, you can use the PLIST_TO_MERGE argument to the juce_add_* functions. In both cases, the string to supply might look like this:

<plist>
  <dict>
    <key>NSAppleEventsUsageDescription</key>
    <string>This app needs to use Apple Events in order to function correctly.</string>
  </dict>
</plist>