UDIDs in provisioning profile?

2019-01-22 18:40发布

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

4条回答
霸刀☆藐视天下
2楼-- · 2019-01-22 19:35

Another QuickLook plug-in I use is ProvisionQL.

https://github.com/ealeksandrov/ProvisionQL

It provides the QuickLook feature for provisioning profiles!

provisioning profie example

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

查看更多
▲ chillily
3楼-- · 2019-01-22 19:38

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>
查看更多
Melony?
4楼-- · 2019-01-22 19:40

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".

查看更多
仙女界的扛把子
5楼-- · 2019-01-22 19:43

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.

Screenshot of the plugin

查看更多
登录 后发表回答