logo
logo
Sign in

6 Easy Steps to Find Unique Device Identifier on the iPhone

avatar
Jack Miler

Introduction

If you are a developer, entrepreneur, or even a user, chances are you may need a string of a long alphanumerical Unique Device Identifier or UDID for iOS development. This number is exclusive to your physical device, your iPhone, iPad, and iPod Touch. Developers, especially, need the UDID to register devices in the process of development.

What is a Unique Device Identifier?

A Unique Device Identifier (UDID) is a unique sequence of alphanumerical (a combination of letters and numbers), particular to your device alone. All iPhones, iPad, or iPod Touch have this UDID. It is a string of a 40 alphanumerical identity (for iPhone X models and ones before that). It may resemble serial numbers you find on the packaging. For iPhone XS and the later models, it comes as a 24 alphanumeric string with a dash after the 8th digit.

What is the significance of UDID?

Apple must affirm and sanction all programs installed on your Apple device. All apps you come across on your App Store are there post Apple’s approval. However, during the beta testing stage, the app can be tried before it is officially launched for general consumption. For this very reason, UDID is registered with Apple- to approve the application for your device. 

6 Steps to Find UDID on iPhone

In order to register a device for testing, you need to first find its UDID.

Step One: Initiate iTunes and connect your device

step-one-udid

Step Two: Go to Devices and select your device by clicking on it.

step-two-udid

Step Three: Click on ‘serial number

step-three-udid

Step Four: Your ‘serial number’ will automatically change to your UDID

step-four-udid

Step Five: Click on the ‘Edit’ icon, then ‘Copy’

step-five-udid

Step Six: ‘Paste’ the same (taken from iTunes menu) into your email. The email message will display your UDID.

step-six-udid

Alternative Way to find UDID 

Finding your UDID with Xcode

  • Connect your iOS device to Xcode
  • Open the Window > Devices and Simulators menu
  • Find your device displayed on this list and view it on the “identifier”

Finding your UDID with Finder (macOS Catalina) 

  • Locate your UDID in the Finder on macOS Catalina for a connected device.
udid-finder-catalina

How to add UDID to your Apple Developer Account?

Having completed the UDID finding process, your next step is to add it in the ‘Devices’ tab in the Certificates, IDs & Profiles segment which is on the Apple development portal

Put in your test devices to your Apple developer account using the following track:

The next process involves adding your device to the application’s provisioning profile that will be circulated to your testers:

  • Click on Profiles on the left sidebar.
  • Choose the provisioning profile where you wish to add the new device and click on Edit.
  • Choose the App ID for your application.
  • In the list of all devices, you can either select all or choose only the ones that you wish to include in the provisioning profile.
  • Go on ‘Generate’. The profile is generated. Now you can easily download it.

In the final process, you build or rebuild the application with the updated provisioning profile you just generated.

  • Import the profile you generated and downloaded to Xcode
  • Open Xcode. From there you can choose your project, displayed in the left sidebar
  • Choose ‘Build Settings’
  • Use the search bar to enter ‘Code Sign’.
  • Select your release configuration and choose the provisioning profile you generated
  • Create a new build Product > Archive

Conclusion,

Using these simple steps, you have found and registered your UDID and can now successfully beta test your app with Apple’s approval. Onward to develop cutting edge iOS applications.

This blog was originally published on Sphinx Blog

 

collect
0
avatar
Jack Miler
guide
Zupyak is the world’s largest content marketing community, with over 400 000 members and 3 million articles. Explore and get your content discovered.
Read more