Created
January 17, 2016 09:22
-
-
Save emilstahl/00cc0c87bff5674e26ed to your computer and use it in GitHub Desktop.
Get iOS device UDID in terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
system_profiler SPUSBDataType | sed -n -e '/iPad/,/Serial/p' -e '/iPhone/,/Serial/p' | grep "Serial Number:" | awk -F ": " '{print $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
not working for xcode9