On OS X, the best way to almost natively test apps or websites is by using the so called “iOS Simulator” (now named simply “Simulator”) which is available as part of the installed Xcode Development Tools. Even though it requires a development suite installed, the tool itself is not only relevant for developers but also for testing or previewing e.g. mobile optimized websites or do a Screen Recording in iOS!
By default, after having Xcode installed on your Mac, the Simulator.app must be started via
Xcode.app > Xcode > Open Developer Tool > Simulator
But good news: the iOS Simulator is delivered as a standalone app actually – hidden inside the Xcode.app Package Contents!
So to bypass Xcode for starting the Simulator, I wrote a simple Automator application which directly launches the Simulator.app!
You can download it here or – by following these steps – create it yourself.
- The Simulator.app is not available standalone, therefore you need Xcode installed on your Mac: Install Xcode (Mac App Store)
- Open the Automator.app and create a new “Application”-workflow
- Add the Automator-Action “Launch Application” into the workflow-area
- Using it’s dropdown, scroll to the bottom and choose “Other…”
- Now it’s time to select the Simulator.app – but to get inside the Xcode App-Package, you have to hit the Command+G shortcut. In the appearing “Go to folder”-dialogue, enter the following path:
- Back in Automator, you can test it using the “Run“-button. If all is working, save it as an Application – and you’re done!
Enjoy saving time starting the iOS Simulator.app from now on 🙂