在 xcode 中获取配置文件的名称 [英] Get the name of provisioning profile in xcode

查看:97
本文介绍了在 xcode 中获取配置文件的名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 xcode 中有一些过期(未使用)的配置文件.我想删除它们,但问题出在我的 ~/Library/MobileDevice/Provisioning\ Profiles/ 文件夹中,配置文件没有使用名称保存,而是使用

I have some expired(unused) provisioning profile in my xcode. I want to delete them but the problem is in my ~/Library/MobileDevice/Provisioning\ Profiles/ folder the provisioning profiles are not saved with the name but a hexadecimal string like

03264601-561e-4185-b6b9-968b168d57a1.mobileprovision
31266708-96d8-4496-88ce-8c2a1681d5c6.mobileprovision
3d26aa08-16ef-4023-a563-ec77168a6043.mobileprovision
4926b573-36f4-4235-9519-5534168b3f9c.mobileprovision
4926eb37-a630-4ca4-989c-0e66168c3795.mobileprovision
6d26b1f0-0695-4bfc-9ae0-a2051680acac.mobileprovision
7c26c1da-a65f-4277-ac1d-c81116828035.mobileprovision
8626b58b-06f3-4aaf-8d1e-f9e61683572d.mobileprovision
af26b527-06d7-476a-888f-2d3a16829277.mobileprovision
f02695b0-6623-47ed-b766-cbb1168ab752.mobileprovision

如何获取每个配置的名称以便删除它们.我不想全部删除然后重新安装其余的.

How can I get the name of each provisioning so that I can delete them. I don't want to delete all and then reinstall the rest.

推荐答案

Easy Way

转到文件夹 ~/Library/MobileDevice/Provisioning\ Profiles/ 并选择一个配置文件,然后按空格键,您将看到类似这样的内容

Easy Way

Go to the folder ~/Library/MobileDevice/Provisioning\ Profiles/ and select a profile and hit space bar you'll see something like this

我已经创建了脚本 GitHub/ListProvisioningProfileName.您可以在那里找到使用步骤.

I have created the script GitHub/ListProvisioningProfileName. You can find the steps of usage there.

当您运行脚本时,它将显示如下输出

When you run the script it will show the output like below

$ list-provisioning-profile-name.sh

03174601-551e-4185-b6b9-968b7ebd57a1.mobileprovision    ad hoc myprofile
31456708-99d8-4496-88ce-8c2acee1d5c6.mobileprovision    xc ad hoc: com.abc.ios.*
3d45aa08-1cef-4023-a563-ec77f99a6043.mobileprovision    cool water
4912b573-3df4-4235-9519-5534fc5b3f9c.mobileprovision    Fast and Furious
4912eb37-a030-4ca4-989c-0e66cb7c3795.mobileprovision    adhoc-nursery-poems
6d21b1f0-0595-4bfc-9ae0-a2053ad0acac.mobileprovision    me team dist
7c21c1da-a65f-4277-ac1d-c81161728035.mobileprovision    myapp
8621b58b-04f3-4aaf-8d1e-f9e67183572d.mobileprovision    HelloExample
af21b527-05d7-476a-888f-2d3a3d429277.mobileprovision    xc ad hoc: com.abc.ios.name
f01125b0-6623-47ed-b766-cbb1138ab752.mobileprovision    my-dev-wild`

这篇关于在 xcode 中获取配置文件的名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆