Add script to get connected device's UDID

Much faster than open iTunes and very useful for deploying builds, running tests on various devices
This commit is contained in:
Konstantin Azizov 2015-10-19 13:06:29 +03:00
parent 7fc2829cde
commit f151e28e88

View File

@ -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