Open the iPhone / iOS Simulator with Alfred
It’s annoying that, by default with the latest XCode, the iOS Simulator doesn’t automatically get detected by Alfred. The reason is that it’s hidden away inside the XCode app now and you need to add it to the Alfred application search scope. Let’s do that now.
Open the iPhone / iOS Simulator Directory
The location of the iPhone / iOS Simulator is now:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/
First, you’re going to want to open up Finder to that directory. I just did the following in a Terminal, but you could also Show Package Contents
on the Xcode.app and navigate to the same directory.
Finder will open up the directory containing the iOS Simulator.app
Adding the iPhone / iOS Simulator to Alfred’s Search Scope
Now that you’ve got the folder handy, open up Alfred’s preferences and navigate to the Features > Default Results pane.
The next step is to drag the Applications
directory that we just found into the Search Scope box here.
You can see the third line there is the directory we just opened in Finder.
Yay!
Now you can search for “Simulator” in Alfred and launch the app without Xcode.