From f151e28e88b02a99f061626788adc209df62951f Mon Sep 17 00:00:00 2001 From: Konstantin Azizov Date: Mon, 19 Oct 2015 13:06:29 +0300 Subject: [PATCH 1/2] 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 From 747bd09820b13accc304006ee94031f82b0dafef Mon Sep 17 00:00:00 2001 From: Konstantin Azizov Date: Mon, 19 Oct 2015 17:19:40 +0300 Subject: [PATCH 2/2] Correct capitalize --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ceeff40..6084665 100644 --- a/README.md +++ b/README.md @@ -471,7 +471,7 @@ atsutil server -ping networksetup -listallhardwareports ``` -#### Show connected device's UDID +#### Show Connected Device's UDID ```bash system_profiler SPUSBDataType | sed -n -e '/iPad/,/Serial/p' -e '/iPhone/,/Serial/p' ```