← Home

Creating an Automator Action in 2023

In the previous blog post, why and how I created an updated version of Xcode 10's Automator action template was outlined. This post will cover using the template in Xcode 14.3+ to create an Automator action and integrate it into a host app.

First, download the updated template from its project page on GitHub (if you haven't read the preceding blog post, the short version of why this is necessary is because Apple stopped including it in Xcode at some point, so to create Automator actions in newer versions of Xcode the template must be procured elsewhere). Unzip the template and copy it to ~/Library/Developer/Xcode/Templates/Project Templates/Mac/Other, creating any missing folders along the way.

Restart Xcode if it's open, then depending on your needs do one of the following:

From there, select "macOS" in the sheet, scroll down to the "Other" section and select "Automator Action". Configure the action to your needs and click "Finish".

You should now have a blank Automator action and can start writing code.

A few oddities to note: