简体   繁体   English

如何从其UUID识别配置文件名称

[英]How do you identify provisioning profile names from their UUID

When you create provisioning profiles in the provisioning portal and set which ones to use in XCode its always done using a human readable name. 当您在供应门户中创建供应配置文件并设置要在XCode中使用的配置文件时,总是使用易于理解的名称来完成。 But when there is a build problem involving profiles/signing the error message gives the UUID of the troublesome profile, not its human readable name. 但是,当存在涉及配置文件/签名的构建问题时,错误消息会给出麻烦的配置文件的UUID,而不是其易读的名称。 So how do you find out which profile a UUID in a build error message is referring to? 那么,如何找出构建错误消息中的UUID是指哪个配置文件?

I normally just grep -i UUID in the provision profile directory, then vim the file to find the name, but here's an attempt at a script. 我通常只是在供应配置文件目录中使用grep -i UUID,然后在文件中查找名称,但这是尝试使用脚本的尝试。

/usr/libexec/PlistBuddy -c 'Print :Name' /dev/stdin <<< $(security cms -D -i ~/Library/MobileDevice/Provisioning\\ Profiles/UPPER_CASE_UDID_HERE.mobileprovision)

ps seems like something mdfind might be good at. ps似乎是mdfind可能擅长的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM