I include a faceless helper app inside my main app's bundle (inside the SharedSupport directory). The first time I go to launch it using NSWorkspace, the system presents a dialog:
"You are opening the application “HelperApp” for the first time. Are you sure you want to open this application?
The application is in a folder named “SharedSupport”. To see the application in the Finder without opening it, click Show Application."
The user can choose cancel and the helper will not be launched.
This is a bit annoying and confusing for the user, and a bit of an implementation leak. Is there any way I can include a permission in the entitlements for my main app, or some other way to bypass the dialog?