且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从beta测试者iOS 7获取UDID

更新时间:2022-12-02 10:16:15

获取UDID以编程方式无法在iOS7.0及更高版本上运行,因为出于安全原因,Apple显然已将其移至私有API空间。但是,当设备连接到XCode(Xcode-> Organizer-> {Your Device Name} - > Identifier)时,您仍然可以看到设备的UDID。当设备连接到iTunes时,您也可以通过单击序列号一次(它在序列号和UDID之间切换)来查看它。我想你必须要求你的测试版测试人员以这种方式找到设备UDID,然后发送给你。

Getting UDID programmatically will not work from iOS7.0 and upwards, since Apple apparently has moved it to "Private API" space for security reasons. However, you can still see the UDID of a device when it is connected to XCode (Xcode-> Organizer-> {Your Device Name}-> Identifier). You can also see it when the device is connected to iTunes, by clicking on the "Serial Number" once (it toggles between Serial No. and the UDID). You will have to ask your beta testers to find the device UDIDs this way and send you across, I suppose.