Corona SDK
deviceid
Finding your Device ID (UDID)
There are two easy places to look for your device ID: iTunes and XCode. This guide will show you how to quickly locate your ID using both.
iTunes
To find your device ID using iTunes, launch iTunes and connect your device. Select your device from the device from the device list in the left column:

Once you have selected your device, click on the summary tab. Then click on the serial number to reveal the device ID.


Now simply hit 'command-c' to copy the UDID to the clipboard to be pasted elsewhere. (Note: you will not be able to highlight the UDID with the mouse, but the copy command will still work.)
XCode
To find your device ID in XCode, open XCode and attach the device. If the 'Organizer' window does not display, go to the 'Window' menu and select 'Organizer':

Once the 'Organizer' window is open, you should see the device ID listed in the 'Summary' tab. You can select it like you would text, and copy it to the clipboard:
