Unable to get UDID from iPhone Xs Max | iOS | Apple | iPhone

﹥>﹥吖頭↗ 提交于 2019-12-01 07:04:54

问题


I need to get the UDID of my iPhone Xs Max to test my App. Apparently, That does not work on the iPhone Xs Max


回答1:


You are getting an error because iOS 12 requires device management profiles to be installed over a valid HTTPS connection. That site's certificate is not trusted.




回答2:


Better to use direct System Report or XCode to find UDIDs:

Answers: https://stackoverflow.com/a/52473809/342794 or https://stackoverflow.com/a/52997294/342794

Details on using udid.io (Specific to this question)

It seems you are using udid.io (http://get.udid.io -- No "https" !!??) to get UDID without any app installation or connecting to USB. security concern, this would fail with iOS 12.

Note: Even for older iOS devices, As it installs a certificate on the mobile device. Not really a recommended way. Could be a shortcut in case you don't have an alternative. Say if you have a large pool of QA devices and don't have physical access to the devices (device farms accessible over the network) and don't care about installing a certificate from the untrusted source. Even in that case, look for an alternative to use a script to find UDID for all connected devices (https://stackoverflow.com/a/52997294/342794).

On supported iOS:

a. Asks to install a certificate that gets deleted automatically.

b. Shows UDID on the browser with an option to email

Screenshots:




回答3:


  1. Open Xcode
  2. Go to Window
  3. Select Devices & Simulators
  4. Select your iPhone
  5. Copy the value for Identifier

See the answer here - https://stackoverflow.com/a/53041428/1722622



来源:https://stackoverflow.com/questions/52476637/unable-to-get-udid-from-iphone-xs-max-ios-apple-iphone

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!