iPhone XS doesn't have UDID

30,601

Solution 1

For the iPhone XS/XS Max and possibly other iPhones which do not show UUID in Itunes: - Open Xcode - Window -> Devices & Simulators -> Select your iPhone -> Use the "identifier" as shown below: enter image description here

Solution 2

  • Go to "->About This Mac".
  • Click on "System Report" and select "USB".
  • Find your phone and the "Serial Number" field is what you are after.
  • Copy this value and paste it into the developer portal when you register a new device; you will need to insert a - after the 8th digit.

You can also get the "identifier" from the Xcode "devices" window or have Xcode update the portal directly.

Screenshot of the USB Settings to locate UDID

Solution 3

You can compile the UDID from the ECID that is shown by iTunes with the following formula (for XS and XS Max)

0000CHIP-00ECID

The CHIP version in the XS/XS Max case is 8020 (source for it)

So if you want to compute the UDID for an XS/XS Max (and I believe the XR has the same chip), then you'll need to replace the ECID with your own in:

00008020-00ECID

To find the ECID, connect the iPhone to iTunes and click the serial number, the ECID will show up.

enter image description here

Edit: For the XR the formula is: 00008020-000ECID, because the ECID has one less character

Solution 4

The best way to get the UDID for the XS is(if you are a dev that is)

  1. Connect your device to you mac
  2. Open Xcode
  3. Open Window->Devices and Simulators
  4. Select your device
  5. You will see identifier in a similar screen like the one below

Xcode Image identifier

Solution 5

Open Xcode -> Window -> Devices & Simulators -> Select your iPhone -> Identifier

Copy the value for Identifier. This is the UDID

enter image description here

Share:
30,601

Related videos on Youtube

Milap Kundalia
Author by

Milap Kundalia

iPhone Developer

Updated on July 09, 2022

Comments

  • Milap Kundalia
    Milap Kundalia almost 2 years

    I want to add an iPhone XS UDID in the Apple developer portal but I am unable to find the UDID in iTunes and without adding the UDID I am unable to run my app on the iPhone XS. I tried adding the ECID and SEID but it didn't work.

    I couldn’t find anything about the disappearance of the UDID on Google either.

    Can anyone help me figure out how to register the iPhone XS in the Apple developer portal?

    • Milap Kundalia
      Milap Kundalia over 5 years
      It is not showing UDID I have checked it.
    • Ashley Mills
      Ashley Mills over 5 years
      When you connect the device to your computer and try and build and run via Xcode, it will offer to add the device to the developer portal for you. If users are installing via TestFlight it will also happen automatically. Why do you need to do it manually?
    • lal
      lal over 5 years
      Using terminal to find udid for new iPhones and iPads : stackoverflow.com/a/52997294/342794
    • lal
      lal over 5 years
      Terminal is useful alternative when team members (designers, testers, etc) don't have XCode installed. Or need to access UDIDs for devices remotely. stackoverflow.com/a/52997294/342794
  • Philipp Kyeck
    Philipp Kyeck over 5 years
    It keeps complaining that this is not a valid UDID :(
  • Paulw11
    Paulw11 over 5 years
    Can you add the device through Xcode? I know iPhone XS serial number formats have changed, but i would have thought that the developer portal was ready for the change. I don't have an XS to test on.
  • archonic
    archonic over 5 years
    This approach works, it's just missing a dash after the 8th character for the new UDID format.
  • lal
    lal over 5 years
    Adding a '-' is important. Just added a screenshot to the answer.
  • Ashley Mills
    Ashley Mills over 5 years
    This is identical to @Paulw11's answer
  • Ashley Mills
    Ashley Mills over 5 years
    This is clearly the best answer - no need to leave Xcode!
  • jhub1
    jhub1 over 5 years
    This didn't work for me. So it turns out that the UDID is CORRECT...but for some reason UDID needs to be lower case!!! After I lower cased everything, it was then accepted. @Mehul
  • Milap Kundalia
    Milap Kundalia over 5 years
    This is identical to @Paulw11's answer
  • jhub1
    jhub1 over 5 years
    @AshleyMills it is NOT Paul's answer. I followed his answer and it didn't work. That's why I copy pasted his answer and added one additional but critical step.
  • Mehul
    Mehul over 5 years
    @jhub1, Ok l will check and let you know soon. Thanks for your response.
  • fishinear
    fishinear over 5 years
    They did not need to be lower case for me.
  • fishinear
    fishinear over 5 years
    They did not need to be lower case for me, but the dash in the right place (after the first 8 digits) is important.
  • fishinear
    fishinear over 5 years
    But a need for your testers to install XCode
  • Durga Sriram
    Durga Sriram over 5 years
    The above approach works. On the right top window, "USB 3.0 Bus" is selected by default but the selection should be "iPhone". Then only you will get the correct serial number. Copy and paste the value. You then need to add a – after the 8th digit. For Ex: if you got a serial number as "98gfhgd67f1a06b4f60156f1949fbytrd205c1f0", after adding - it should like this: "98gfhgd6-7f1a06b4f60156f1949fbytrd205c1f0".
  • lal
    lal over 5 years
    Also complicates things when you have a remote device farm. stackoverflow.com/a/52997294/342794
  • Maulik
    Maulik over 5 years
    @AshleyMills developer portal says its not valid. Any idea ?
  • Jarda Pavlíček
    Jarda Pavlíček almost 5 years
    Why is this -1 ? I use it for long time with pleasure. I can suggest this page.