问题
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?
回答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:
回答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.
回答3:
The best way to get the UDID for the XS is(if you are a dev that is)
- Connect your device to you mac
- Open Xcode
- Open Window->Devices and Simulators
- Select your device
- You will see identifier in a similar screen like the one below
回答4:
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/
回答5:
Open Xcode -> Window -> Devices & Simulators -> Select your iPhone -> Identifier
Copy the value for Identifier. This is the UDID
回答6:
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
回答7:
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.
回答8:
Must be update to XCode10 and click Window -> Devices & Simulators -> Select your iPhone -> Use the "identifier"
回答9:
Also you can get UDID of your iPhone XS using https://get.udid.io
回答10:
Considering you are using macOS catalina, and there is no iTunes any more, you may do the following:
- Go to Finder, select the device from the side bar
- Select the General Tab so you can see the device name, model number, and other details, as in the image below:
- 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.
回答11:
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.
回答12:
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
来源:https://stackoverflow.com/questions/52473290/iphone-xs-doesnt-have-udid