Testing an Automator Action Xcode Project
Q: I’ve built an Automator action project in Xcode. How do I test my action in Automator?
A: To test an Automator action Xcode project, you first set Automator as the run executable for the project, and then provide an argument that tells Automator where to find your action.
Open your Automator action project in Xcode.
Choose Product > Scheme > Edit Scheme.
On the left side of scheme editor dialog that appears, click Run.
Set the Executable pop-up menu to Automator. Select Other from the pop-up menu and navigate to Automator in
Click Arguments at the top of the main pane.
In the Arguments Passed On Launch area of the pane, click the Add button (+) to add a new argument. Set the argument to:
Click Close to close the scheme editor dialog.
After you’ve configured your Xcode project as described above, choose Product > Run or press Command-R. An instance of Automator should launch and load your action. Search Automator’s action library to find it. Now, you can test your action. After you’ve stopped testing, return to Xcode and resume development.
Document Revision History
New document that explains how to enable testing of an Automator action project in Xcode.