Given by Dima Kovalenko and Jeff Rogers at Selenium Conference 2012 http://www.seleniumconf.org/
You will need ruby, git for starters.
git clone git://github.com/dimacus/Pluggable-Tests.git
cd Pluggable-Tests
gem install bundler
bundle install
You might need to execute these commands with sudo on your local machine.
rake all
You will need iPhone SDK installed on your computer. The pre-compiled iWebdriver is included, but it is older version so it might be buggy.
You will need to have a valid saucelabs username and API key for that account.
You can get a free account here http://saucelabs.com
Once you created the account, and found your username and API key, provide that info like this
export SAUCE_USERNAME=username
export SAUCE_KEY=api_key
rake all # Run all tests rake api # API tests rake iphone # iPhone tests rake sauce # Sauce tests rake selenium # Selenium tests rake touch # Touch tests