列出已安装的移动配置文件 [英] List installed mobile provisioning profiles

查看:105
本文介绍了列出已安装的移动配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在OSX上有没有办法以编程方式获取机器上安装的所有iOS移动配置文件列表(这是你可以在XCode组织者中看到的列表)?。

On OSX is there any way to programmatically get the list of all iOS mobile provisioning profiles installed on the machine (that's the list you can see in XCode organizer)?.

谢谢。

推荐答案

它可能是同一个列表,但是如果你查看〜/ Library / MobileDevice / Provisioning Profiles 您将找到配置文件的文件夹。因此,您可以使用该路径生成列表(可能使用NSFileManager)

It's probably the same list, but if you look in ~/Library/MobileDevice/Provisioning Profiles you'll find the folder of provisioning profiles. So you can just use that path to generate a list (probably with NSFileManager)

或者搜索扩展名.mobileprovision

Or do a search for extension .mobileprovision

这篇关于列出已安装的移动配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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