From f151e28e88b02a99f061626788adc209df62951f Mon Sep 17 00:00:00 2001 From: Konstantin Azizov Date: Mon, 19 Oct 2015 13:06:29 +0300 Subject: [PATCH] Add script to get connected device's UDID Much faster than open iTunes and very useful for deploying builds, running tests on various devices --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 5554fa7..ceeff40 100644 --- a/README.md +++ b/README.md @@ -471,6 +471,11 @@ atsutil server -ping networksetup -listallhardwareports ``` +#### Show connected device's UDID +```bash +system_profiler SPUSBDataType | sed -n -e '/iPad/,/Serial/p' -e '/iPhone/,/Serial/p' +``` + #### Show Current Screen Resolution ```bash system_profiler SPDisplaysDataType | grep Resolution