Xcode Shortcuts

An Alfred Workflow


Short Description

Automates creating playgrounds & cleaning cache files via Xcode

Last Updated

30 Jul 2020

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.0
 

Bundle ID

com.beccaria.alfredworkflow.xcodeshortcuts
 

Applications

Xcode Shortcuts workflow
------------------------

This is an Alfred Worflow which automates the following Xcode processes:

1) Creating new playground files.
2) Cleaning Xcode cache and DerivedData folders

Super simple to use:

1) Type keyword "xpg" and hit ENTER to create a new playground. You can also
supply a file name, by typing the keyword, then a space, followed by the
filename. For example, entering: "xpg hello dolly" will create playground
named "hello dolly.playground".

2) Type keyword "xclean" and hit ENTER to erase Xcode's cache files and folders
(inc. DerivedData)

Environment Variables:

1) "playgroundFolder" : path to destination folder (defaults is: "~/Desktop")
2) "xcodeVersion" : version to use when creating playgrounds (default: "Xcode")

Screenshots