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
The best way to get the UDID for the XS is(if you are a dev that is)
Also you can get UDID of your iPhone XS using https://get.udid.io
You can also get the "identifier" from the Xcode "devices" window or have Xcode update the portal directly.
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.
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.
Edit: For the XR the formula is: 00008020-000ECID, because the ECID has one less character
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.
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.
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.