Archive for November, 2012

iOS UIAutomation Bash Script

Monday, November 12th, 2012

Here is a bash script that will either run UIAutomation scripts on an iOS App in the Simulator or on a device.

This can be useful when running UIAutomation scripts as part of continuous integration.

Install your App on the device or simulator, save the script below and edit the script appropriately.

Tested on:

  • iOS 6.0
  • Xcode Version 4.5.1 (4G1004)
  • Instruments Version 4.5 (4523)
  • OS X 10.8.2