[ios_runner]Fixed xcodebuild_runner for real devices.

Current update prevent creating/deleting simulators
if test runs on real devices.
Some bots don't have preinstalled sim-runtimes that match
version of connected real devices, it was a reason of failure like
https://chrome-swarming.appspot.com/task?id=49c31b4eab008710

To determine whether device with UDID is simulator
used `xcrun simctl` command because `idevice_id`
is not installed properly on some bots without real devices, e.g.
https://chromium-swarm.appspot.com/task?id=49c9a229b161d210

Bug: 1042380
Change-Id: I3771af295dadf32068343bdc2691bedf0a5f72a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2002895
Reviewed-by: Rohit Rao <rohitrao@chromium.org>
Commit-Queue: Maksym Onufriienko <monufriienko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#735099}
2 files changed