- I have created swift command line project and i have added logic to executing apple script using NSAppleScript. That will launch Microsoft Excel file
- I am launching this swift command line executable from java using process launch.
3)This is not prompting me. It is throwing exception "Not authorized to send Apple events to Microsoft Excel."
I have already tried out this option
- Added info.plist with NSAppleEventsUsageDescription
- Added entitlement with com.apple.security.automation.apple-events to true
- In packages i have selected this entitlement
- i have select the bundle identifier , team and signing certificate "Development" and automatically manage signing.
can you please suggest what could i missed ?