Now we are going to register your iOS device for testing apps. This will let you test your apps on real hardware
Go to your main Developer page and into the Certificates, Indentifiers & Profiles subpage. Under the Devices tab, click All, then hit + in the up right corner.
An easy way to get your device UDID is through iTunes. Make sure your device is connected to your computer, then in iTunes, go to your device summary. You should see UDID:
If you don't see the UDID, you may need to click on the Serial Number
The UDID is a crazy long set of numbers and letters. Copy that UDID number and paste it into the UDID field on the Registration page.
Choose and enter a name for your device.
At the bottom, click Register. Once you've done that, thats it! Your device is now registered and can be used for testing with your app.