UDIDs in provisioning profile?

半世苍凉 提交于 2019-12-17 22:46:00

问题


Given a provisioning profile, does anyone know how to determine what UDIDs are in that profile?


回答1:


Open it up in a text editor. You should be able to see the list of UDID's.

They appear under the key "Provisioned Devices".




回答2:


To see which iOS device UDID's are associated to your provisioning profile, use the Terminal command:

security cms -D -i /path/to/MyProfile.mobileprovision

(drag and drop the .mobileprovision file from Finder to the Terminal window to fill in the file path)

Within the command results look for the ProvisionedDevices section for the device UDIDs associated to the profile, such as:

 <key>ProvisionedDevices</key>
<array>
    <string>abab79177cse660edf75b4affe9d87ef2685ade2</string>
    <string>3436dc195c5432f1c22b5a687adfcd350de3af0a</string>
    <string>04589ca69bbde998a72f320s7148290603bc025c</string>
    <string>8a684993a490ebfdf564ef20d5fa38ebfb31b8d7</string>
    <string>16663b95823sf346fc377c3d31a90bc9fcd61d1d</string>
    <string>2e88a9cb3155fc81577c580b86s74351e3f50d5b</string>
    <string>105404f9945627sa24be595015a7cb5655f096f1</string>
    <string>7ea5s4fe4ee0c8d40a18117c446306663fc0bf73</string>
</array>



回答3:


Sorry for the auto-plug that follows - I'm the author of the mentionned plugin, but felt it was an appropriate answer to this question.

I wrote a QuickLook plugin just for this need.
It gives you a sorted list of all the UDIDs in the profile. When it knows more about a specific UDID, it will allow you to display a pop-up to get more information about the device.

It is also an easy way to get access to other useful informations about the profile: creation and expiration date, App ID, profile name...

Download it here.




回答4:


Another QuickLook plug-in I use is ProvisionQL.

https://github.com/ealeksandrov/ProvisionQL

It provides the QuickLook feature for provisioning profiles!

Check out more screenshots for how it work: https://github.com/ealeksandrov/ProvisionQL/blob/master/screenshots.md



来源:https://stackoverflow.com/questions/3398560/udids-in-provisioning-profile

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