snippet for retreiving iOS machine name.