ios IOS设备UDID
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17302883/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
IOS device UDID
提问by ml_is_just_statistics
I need to add an IOS device to iTunes connect for develop and testing - the registration of a new device requires a UUID. where can i find an IOS device UUID/id?
我需要将一个 IOS 设备添加到 iTunes 连接以进行开发和测试 - 新设备的注册需要一个 UUID。我在哪里可以找到 IOS 设备 UUID/id?
回答by rmaddy
As of macOS Catalina (macOS 10.15), iTunes isn't available. But you can get the UDID using Finder. Connect your iOS device to your computer and open Finder. You should see your iOS device listed under Locations on the left side of the Finder window. Select your iOS device. Details about your device will appear on the right side of the Finder window. At the top will be an icon of your device showing your device's name (such as "Bob's iPhone 11"). Under that will be type of device, disk size and available space, and your battery level. Tapping on the line with the batter level a few times will cycle through other details about the iOS device. One of these will include the UDID. Once displayed you can right-click on the UDID and select Copy to copy the serial number and UDID to the pasteboard.
从 macOS Catalina (macOS 10.15) 开始,iTunes 不可用。但是您可以使用 Finder 获取 UDID。将您的 iOS 设备连接到计算机并打开 Finder。您应该会在 Finder 窗口左侧的“位置”下看到您的 iOS 设备。选择您的 iOS 设备。有关您的设备的详细信息将显示在 Finder 窗口的右侧。顶部将是您设备的图标,显示您的设备名称(例如“Bob 的 iPhone 11”)。在其下方将是设备类型、磁盘大小和可用空间以及您的电池电量。在面糊水平线上轻敲几次将循环显示有关 iOS 设备的其他详细信息。其中之一将包括 UDID。显示后,您可以右键单击 UDID 并选择复制以将序列号和 UDID 复制到粘贴板。
For those with Xcode, you can get the device's UDID from the Devices and Simulators window. Select the Devices tab on that window. Select the iOS device on the left side under Connected. In the detail pane on the right you will see Identifier: followed by the UDID. Right-click on the UDID to copy it to the pasteboard or share it in some desired fashion.
对于使用 Xcode 的用户,您可以从“设备和模拟器”窗口中获取设备的 UDID。在该窗口中选择设备选项卡。在“已连接”下选择左侧的 iOS 设备。在右侧的详细信息窗格中,您将看到 Identifier: 后跟 UDID。右键单击 UDID 以将其复制到粘贴板或以某种所需的方式共享。
Old answer for those still using iTunes
仍在使用 iTunes 的人的旧答案
Connect your iPhone to your computer and open iTunes. Select your device in iTunes so you can see the serial number. Click on the serial number. The UDID will take its place. You can copy & paste the UDID that's displayed on the screen.
将 iPhone 连接到计算机并打开 iTunes。在 iTunes 中选择您的设备,以便您可以看到序列号。单击序列号。UDID 将取代它。您可以复制并粘贴屏幕上显示的 UDID。
回答by Alexander of Norway
If one of these tutorials don't do it for you, then nothing will!
如果这些教程之一不适合您,那么什么都不会!
http://whatsmyudid.com// For old iTunes versions
http://whatsmyudid.com// 对于旧的 iTunes 版本
or use this - http://get.udid.io// For new iTunes versions
或使用此 - http://get.udid.io// 对于新的 iTunes 版本
or use this - Workinghttps://udidiphone.comfor UDID, IMEI, Serial Number, OS Version, Build Number
或使用此 -为 UDID、IMEI、序列号、操作系统版本、内部版本号工作的https://udidiphone.com
回答by mrosales
If nothing is showing up in iTunes, you have to open up Xcode, go to the devices list (Window -> Devices and Simulators) and then click on the devices tab. Under devices, select your device in the left sidebar and it will show your udid in the main window. You can also just click use for development and it will register your device for you.
如果 iTunes 中没有显示任何内容,则必须打开 Xcode,转到设备列表(窗口 -> 设备和模拟器),然后单击设备选项卡。在设备下,在左侧边栏中选择您的设备,它会在主窗口中显示您的 udid。您也可以单击用于开发,它会为您注册您的设备。