I suspect you may need to declare that your app uses Apple Events in its plist:
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>
