def SetupSimulator(ios):
 simulator_cmd = ('xcodebuild -workspace %s/clients/ios/ViewfinderWorkspace.xcworkspace -arch i386 -scheme Viewfinder -sdk iphonesimulator7.0' % os.environ['VF_HOME'])
 call(simulator_cmd, shell=True)

def SetupSimulator ( ios ) : simulator_cmd = ( 'xcodebuild -workspace %s/clients/ios/ViewfinderWorkspace.xcworkspace -arch i386 -scheme Viewfinder -sdk iphonesimulator7.0' % os . environ [ 'VF_HOME' ] ) call ( simulator_cmd , shell = True )
build simulator app if necessary .