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:
parent
7fc2829cde
commit
f151e28e88
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user