A toolkit for iphone simulator automation via atomac