DeviceManager icon indicating copy to clipboard operation
DeviceManager copied to clipboard

Unable to find the UDID of connected device using Java

Open pavanbachu0604 opened this issue 8 years ago • 0 comments

Unable to find the UDID of connected device using java, please find the code , I am able to pull the UDID using the command '"system_profiler SPUSBDataType | sed -n -E -e '/(iPhone|iPad|iPod)/" + ",/Serial/s/ *Serial Number: *(.+)/\1/p'"', but not able to pull the UDID using "idevice_id -l"

but while appium is running it internally uses idevice_id -l to list the device UDID

pavanbachu0604 avatar Dec 04 '17 20:12 pavanbachu0604