Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
345 views
in Technique[技术] by (71.8m points)

ios - UDIDs in provisioning profile?

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...