Skip to content

Instantly share code, notes, and snippets.

@emilstahl
Created Jan 17, 2016
Embed
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}'
@crespoxiao

This comment has been minimized.

Copy link

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