Is anyone seeing the following error when trying to upload a macOS app with the new "com.apple.security.automation.apple-events" entitlement:
App Store Connect Operation Error
ERROR ITMS-90285: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on macOS. Specifically, key 'com.apple.security.automation.apple-events' in '[path to app]' is not supported."
This seems wrong to me. Our app is built with the hardened runtime option. Without this entitlement (and the associated temporary exception entitlement for the app we send Apple Events to), our app is blocked from sending Apple Events. So the entitlement is required for the app to work correctly (as per Apple), but ITMS rejects any app with said entitlement. What?
I can reproduce this error on brand-new-from-scratch Xcode projects that have (1) the hardened runtime enabled and (2) this entitlement turned on and (3) Automatic code signing management enabled.
I am at a loss here.