Skip to content

Instantly share code, notes, and snippets.

Created Jan 17, 2016
What would you like to do?
Get iOS device UDID in terminal
system_profiler SPUSBDataType | sed -n -e '/iPad/,/Serial/p' -e '/iPhone/,/Serial/p' | grep "Serial Number:" | awk -F ": " '{print $2}'
Copy link

crespoxiao commented Dec 5, 2017

not working for xcode9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment