自iOS 7发布以来,有没有办法在不使用PC / Mac的iTunes上获取UDID? [英] Is there a way since (iOS 7's release) to get the UDID without using iTunes on a PC/Mac?

查看:231
本文介绍了自iOS 7发布以来,有没有办法在不使用PC / Mac的iTunes上获取UDID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的公司开发一个应用程序,我们正在通过将iPad添加到公司的iOS开发中心帐户中来慢慢让人们进入测试版。从那里我们为本地Intranet分发做了一个特别的构建。

I'm developing an app for my company and we're going through the process of slowly letting people into the "beta" by adding their iPads to the company's iOS Dev Center accounts. From there we do an ad hoc build for local Intranet distribution.

在我的最后一个演出中,我会引导人们找到其中一个找我的UDID应用程序,然后让他们发给我找到的UDID。

At my last gig, I would direct people to one of those "find my UDID for me" apps, then get them to send me the UDID it found.

iOS 7已经关闭了 - 这些应用程序现在全部消失了,如果你还有一个,它会返回一些与UDID无关的GUID。

iOS 7 has cut this off - those apps are all gone now and if you do still have one, it returns some GUID that has nothing to do with the UDID.

所以我要做的就是将这些东西连接到我的Mac,然后从iTunes获取UDID,这有点麻烦(但不那么繁琐)而不是试图向他们解释如何从iTunes获取它,假设他们甚至安装了它)。有时它会尝试与我的Mac同步,除了在设备上放置我不想要的配置文件之外,它似乎没有任何效果。至少有一次我有一台iPad突然决定从iOS 6升级到iOS 7,我不确定是否与插入有关(在这种情况下,用户不希望升级)。

So what I'm having to do is connect each of these things to my Mac, then get the UDID from iTunes, which is kind of a hassle (but less tedious than trying to explain to them how to get it from iTunes, assuming they even have it installed). And sometimes it tries to sync with my Mac, which doesn't seem to have any effect other than putting on provisioning profiles I don't want on the device. And at least once I've had an iPad just suddenly decide to upgrade itself from iOS 6 to iOS 7 which I'm not sure is related to being plugged in (and in this case the user didn't want it upgraded).

除了将其插入机器之外,还有其他方法可以从iPad获取UDID吗?

So is there any other way to get the UDID from the iPad other than plugging it into a machine?

要清楚:我不是想在应用程序中获取UDID,我只是想想最快的方式将UDID添加到我们的开发人员配置文件中的设备列表中以进行分发。

TO BE CLEAR: I'm not trying to get the UDID in an app, I'm just trying to think of the quickest way to get the UDID to add to the device list in our developer profile for distribution.

推荐答案

这是我的研究结果:

Apple从所有公共API中隐藏了UDID,从iOS 7开始。任何以FFFF开头的UDID都是假身份证。以前工作的发送UDID应用程序不能再用于收集测试设备的UDID。 (叹气!)

Apple has hidden the UDID from all public APIs, starting with iOS 7. Any UDID that begins with FFFF is a fake ID. The "Send UDID" apps that previously worked can no longer be used to gather UDID for test devices. (sigh!)

当设备连接到XCode(在管理器中),以及设备连接到iTunes时显示UDID(尽管你必须点击在序列号上,以显示标识符。

The UDID is shown when a device is connected to XCode (in the organizer), and when the device is connected to iTunes (although you have to click on 'Serial Number' to get the Identifier to display.

如果您需要获取设备的UDID以添加到配置文件,并且无法执行此操作你自己在XCode中,你必须完成从iTunes复制/粘贴它的步骤。

If you need to get the UDID for a device to add to a provisioning profile, and can't do it yourself in XCode, you will have to walk them through the steps to copy/paste it from iTunes.

UPDATE - 参见 okiharaherbst的答案,基于脚本的方法允许测试用户通过在服务器上托管mobileconfig文件为您提供设备UDID

UPDATE -- see okiharaherbst's answer below for a script based approach to allow test users to provide you with their device UDIDs by hosting a mobileconfig file on a server

这篇关于自iOS 7发布以来,有没有办法在不使用PC / Mac的iTunes上获取UDID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆