25

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?

Boann
  • 44,932
  • 13
  • 106
  • 138
Milap Kundalia
  • 1,436
  • 1
  • 15
  • 24
  • 1
    It is not showing UDID I have checked it. – Milap Kundalia Sep 24 '18 at 06:01
  • 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? – Ashley Mills Sep 28 '18 at 11:05
  • Using terminal to find udid for new iPhones and iPads : https://stackoverflow.com/a/52997294/342794 – lal Nov 15 '18 at 23:35
  • Terminal is useful alternative when team members (designers, testers, etc) don't have XCode installed. Or need to access UDIDs for devices remotely. https://stackoverflow.com/a/52997294/342794 – lal Nov 29 '18 at 15:21

12 Answers12

36

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

Viktor Malyi
  • 1,913
  • 2
  • 21
  • 35
Harsh Alkutkar
  • 381
  • 2
  • 4
19
  • 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

lal
  • 5,240
  • 5
  • 30
  • 41
Paulw11
  • 95,291
  • 12
  • 135
  • 153
  • 3
    It keeps complaining that this is not a valid UDID :( – Philipp Kyeck Sep 24 '18 at 09:24
  • 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. – Paulw11 Sep 24 '18 at 09:46
  • 3
    This approach works, it's just missing a dash after the 8th character for the new UDID format. – dpalmer Sep 26 '18 at 19:44
  • Adding a '-' is important. Just added a screenshot to the answer. – lal Sep 27 '18 at 18:36
  • 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 – jhub1 Oct 18 '18 at 05:56
  • @jhub1, Ok l will check and let you know soon. Thanks for your response. – Mehul Oct 22 '18 at 16:42
  • 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 Oct 31 '18 at 09:03
  • 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". – Durga Sriram Nov 15 '18 at 04:59
4

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

mikebld
  • 136
  • 3
3

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

SeriousSam
  • 189
  • 1
  • 14
3

Use terminal "system_profiler" to find the UDID for attached devices

If you're comfortable using Terminal, you can paste this command in to Terminal or save it as a script or alias.

system_profiler SPUSBDataType -detailLevel mini | \
grep -e iPhone -e Serial | \
sed -En 'N;s/iPhone/&/p'

Paste that text into Terminal and press enter to run system_profiler for the USB devices, and then filter for only the iPhone's UDID from the pretty-long output. Again, be sure to add the necessary hyphen after the first eight digits for iPhone XS and XS Max devices.

output on terminal:

$ system_profiler SPUSBDataType -detailLevel mini | \
grep -e iPhone -e Serial | \
sed -En 'N;s/iPhone/&/p'
Output:
2018-10-25 12:57:06.527 system_profiler[23461:6234239] SPUSBDevice: 
IOCreatePlugInInterfaceForService failed 0xe0003a3e
        iPhone:
          Serial Number: 3aeac....4145

Ignore following failures 2018-10-25 12:57:06.527 system_profiler[23461:65234239] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe0003a3e

Look for Serial Number: 3aeac........4145

Alias:

# find UDID
alias fudid="system_profiler SPUSBDataType -detailLevel mini | grep -e iPhone -e Serial | sed -En 'N;s/iPhone/&/p'"

From: https://deciphertools.com/blog/2014_11_19_how_to_find_your_iphone_udid/

foobar
  • 103
  • 2
  • 7
lal
  • 5,240
  • 5
  • 30
  • 41
3

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

Copy the value for Identifier. This is the UDID

enter image description here

theAmitom
  • 322
  • 2
  • 8
1

Just combining all the different answers form the internet:-

In MacOS:-

For iPhones which do not show UDID in Itunes, There are two approaches for those who are using MacOS:-

If you are a developer you can get the UDID by both the approaches. But if you need UDID number of your client's iPhone or someone else's who is sitting in onsite or someone else's who does not have Xcode in their Mac, for them 2nd approach is the best.

  1. Connect iPhone using USB in Mac. Open Xcode --> Window --> Devices & Simulators --> Select your iPhone -> Copy the "identifier". That is the iPhones UDID number.

    For ex:- It should like this "98gfhgd6-7f1a06b4f60156f1949fbytrd205c1f0.

  2. Connect iPhone using USB in Mac. Click Apple icon on the left top corner "" --> "About This Mac" --> "System Report" -- Select "USB" on the left panel --> Select "iPhone" on the right top window --> Copy and paste the Serial Number 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".

In Windows:-

Note: If you’re using the Windows PC, then you can use third party tools like iFunBox,etc for Windows, to get the UDID for iPhone XS and iPhone XS Max. It is a much easier method. iFunBox for Mac doesn’t seem to provide the UDID.

Community
  • 1
  • 1
Durga Sriram
  • 281
  • 1
  • 14
0

Must be update to XCode10 and click Window -> Devices & Simulators -> Select your iPhone -> Use the "identifier"

0

Also you can get UDID of your iPhone XS using https://get.udid.io

Vanger
  • 668
  • 4
  • 9
0

Considering you are using macOS catalina, and there is no iTunes any more, you may do the following:

  1. Go to Finder, select the device from the side bar
  2. Select the General Tab so you can see the device name, model number, and other details, as in the image below: enter image description here
  3. Finally, click on the model number below the device name, and it will change to show you the serial number and UDID, as in the image below. enter image description here
Mehul Parmar
  • 3,225
  • 3
  • 20
  • 38
-1

The iPhone XS and XS max no longer have UDID readily displayed in iTunes. The previous steps works but need to add one more which is to lower case the UDID retrieved.

1.Connect iPhone to Mac

2.Go to About This Mac

3.Click on "System Report" and select "USB" from left panel.

4.Find your iphone and look for the "Serial Number" field. This is what you need.

5.Copy this "Serial Number" and register the device in the developer portal. Make sure developer portal recognizes the device model. (As the developer portal recognizes the device model for a valid UDID when registering the device).

The serial number will be without hyphen. Make sure to add hyphen after first 8 characters. Example: XXXXXXXX-XXXXXXXXXXXXXXXX

Add 6. Lower case all letters.

jhub1
  • 501
  • 3
  • 6
  • 17
-2

1.Connect iPhone to Mac

2.Go to About This Mac

3.Click on "System Report" and select "USB" from left panel.

4.Find your iphone and look for the "Serial Number" field. This is what you need.

5.Copy this "Serial Number" and register the device in the developer portal. Make sure developer portal recognizes the device model. (As the developer portal recognizes the device model for a valid UDID when registering the device).

  1. The serial number will be without hyphen. Make sure to add hyphen after first 8 characters. Example: XXXXXXXX-XXXXXXXXXXXXXXXX