How to obtain your iOS device’s ID and Register an iOS Device to a Development Provisioning Profile so you can sign iOS apps in development and testing.
When signing iOS apps, you can use an “iOS App Development” provisioning profile. This profile is designed to be used for development and testing. An app signed with this profile can only be installed on a pre-defined set of up to 100 devices assigned to the apple developer id. It’s not recommended to use an “iOS App Development” provisioning profile for production deployment of mobile apps.
If you do sign your iOS app with an iOS App Development provisioning profile, and the app does not install on a device, one of the reasons could be that the device’s ID is not in the list of device IDs included in the provisioning profile.
This knowledge base article shows you how to obtain your iOS device’s ID and ensure that the device ID is in your iOS App Development provisioning profile.
First, you will have to find your device’s UDUD (Unique device identifier)
Using iTunes (on Mac or PC):
Using Xcode (on Mac):
Alternatively, you can use a service like http://udid.io, which installs a profile on the device and can retrieve the UDID very easily.
Now that you know the device’s UDID, you need to find what devices are registered to the provisioning profile.
If you have access to the provisioning profile file itself, open it using a text editor and search for “<key>ProvisionedDevices</key>“. After this key, you will find an array of UDIDs registered to the profile:
<array> <string>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</string> <string>yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy</string> <string>zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz</string> </array>
If you only have access to the signed app binary, you can extract the provisioning profile from the app file:
To learn more about iOS certificates, see Creating an iOS Distribution Certificate and P12 File for Signing iOS Apps.