List installed mobile provisioning profiles

試著忘記壹切 提交于 2019-12-04 16:56:56

问题


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)?.

Thanks.


回答1:


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)

Or do a search for extension .mobileprovision




回答2:


Command line,

Step 1 : Open terminal and run this command,

cd ~/Library/MobileDevice/Provisioning\ Profiles && ls

Enjoy.



来源:https://stackoverflow.com/questions/12059608/list-installed-mobile-provisioning-profiles

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!