iPhone XS doesn't have UDID

后端 未结 12 1439
北海茫月
北海茫月 2020-11-28 14:38

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

相关标签:
12条回答
  • 2020-11-28 14:41

    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

    0 讨论(0)
  • 2020-11-28 14:41

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

    0 讨论(0)
  • 2020-11-28 14:45
    • 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.

    0 讨论(0)
  • 2020-11-28 14:52

    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.

    0 讨论(0)
  • 2020-11-28 14:53

    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

    0 讨论(0)
  • 2020-11-28 14:54

    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.

    0 讨论(0)
提交回复
热议问题