Why this happens
Apple requires every physical device used for development or ad-hoc distribution to be registered in App Store Connect with its Unique Device Identifier (UDID). The UDID is a 40-character hexadecimal string (24 characters on newer devices with Apple Silicon) that uniquely identifies a single iPhone, iPad, or iPod touch. Since macOS Catalina (10.15) removed iTunes, the traditional way of revealing the UDID by clicking the serial number in iTunes no longer exists. Developers now need to use Finder, Xcode, or the command line to retrieve the identifier.
How to fix it
1. Use Finder (macOS 10.15 Catalina and later)
This is the quickest method if you only need the UDID once and don’t have Xcode open.
- Connect your iPhone or iPad to your Mac with a USB cable.
- Open a new Finder window.
- In the sidebar under Locations, click the device name.
- In the main pane, locate the line that shows the device model, capacity, and battery status.
- Click that line repeatedly. Each click cycles through: serial number, UDID, IMEI (on cellular models), and other identifiers.
- When the UDID appears, right-click (or Control-click) the value and choose Copy.
Tip: The UDID is labeled “UDID” in the tooltip; the serial number is labeled “Serial Number.” Make sure you copy the correct one.
2. Use Xcode Devices and Simulators window
Preferred when Xcode is already running or when you need to manage multiple devices.
- Open Xcode.
- Choose Window > Devices and Simulators (or press
Shift-Command-2). - Select the Devices tab.
- In the left column under Connected, click your device.
- In the detail pane, find the Identifier field — this is the UDID.
- Right-click the identifier and choose Copy.
3. Use the command line (useful for scripts or CI)
If you prefer Terminal or need to automate device registration:
# List all connected devices with their UDIDs
xcrun devicectl list devices
# Or, for a single device, show only the UDID
xcrun devicectl list devices --json | jq -r '.devices[] | select(.name == "Your Device Name") | .udid'
xcrun devicectl replaced the older instruments -s devices and xcrun xctrace list devices commands in recent Xcode versions.
4. Retrieve UDID from an already-provisioned device (no Mac required)
If the device already has a development profile installed, you can read the UDID from the Settings app:
- On the device, open Settings > General > VPN & Device Management.
- Tap the development profile.
- The UDID is displayed near the top of the profile details screen.
How to prevent it
- Keep a secure note (e.g., in 1Password or Apple Notes with a lock) of each test device’s UDID alongside its name and owner.
- Use Xcode’s Manage Certificates, Identifiers & Profiles window to sync registered devices to your developer account automatically when you connect a new device.
- When onboarding new testers, send them the link to Apple’s “Register a Device” support page so they can copy the UDID from Finder themselves.
FAQ
### Can I get the UDID without a Mac?
Yes. If the device is already enrolled in your developer program, open Settings > General > VPN & Device Management, tap the provisioning profile, and the UDID is shown. For a brand-new device you must use a Mac (Finder or Xcode) or a third-party web service that reads the UDID via a mobileconfig profile.
### Why does the UDID look shorter on my iPhone 15?
Devices with Apple Silicon (iPhone 15 series, iPad Pro M4, etc.) report a 24-character UDID instead of the legacy 40-character format. Both are accepted by App Store Connect; paste exactly what Finder or Xcode shows.
### Is it safe to use online UDID finder websites?
Those sites install a temporary mobileconfig profile that reads the UDID and sends it back to the browser. They work, but you are transmitting a unique hardware identifier to a third party. For production or client devices, stick to Finder, Xcode, or the command line.
Summary
| Method | Best for | macOS version |
|---|---|---|
| Finder sidebar | Quick one-off copy | 10.15+ |
| Xcode Devices window | Multiple devices, already in Xcode | Any with Xcode |
xcrun devicectl |
Automation, CI scripts | Xcode 15+ |
| Settings > Profiles | No Mac available, profile already installed | iOS 16+ |
Copy the UDID, paste it into App Store Connect > Devices > +, and the device is ready for development or ad-hoc builds.
Parts of this guide are adapted from content licensed under CC BY-SA 4.0; this article is shared under the same license.
