removing provisioning profile from xcode

前端 未结 9 1068
甜味超标
甜味超标 2020-12-07 17:29

How can I remove a previously installed development provisioning profile from xcode?

9条回答
  •  [愿得一人]
    2020-12-07 18:16

    Xcode keeps provisioning profiles at following directory:

    ~/Library/MobileDevice/Provisioning\ Profiles
    

    To remove old profile from Xcode just delete it's file and restart Xcode. Profile file names are somewhat cryptic, so use the following command to show their real names:

    grep -a -A1 "Name" *.mobileprovision | grep -v "Name" | grep -v "^--"
    

    If you need more than a name, for example list of UDIDs, this command shows all content of particular provisioning profile:

    security cms -D -i xxx.mobileprovision 
    

    Update: recently Apple added ability to preview *.mobileprovision files with standard Finder app.

提交回复
热议问题