How to delete expired provisioning profiles in Xcode 8.3

后端 未结 3 579
温柔的废话
温柔的废话 2020-12-17 21:03

I want to delete expired provisioning profile manually but I don\'t want to delete all profiles. I want to add new provisioning profiles but in new Xcode 8.3.2, I can only s

3条回答
  •  失恋的感觉
    2020-12-17 21:45

    This is the way to do it in XCode 9, I believe it is the same in XCode 8.3:

    Mind that the certificates and the provisioning profiles are managed separately now, so it is safe to remove the provisioning profiles and download them again.

    1. First make sure to correct or remove the expired profiles in your developer account.
    2. Open the folder "~/Library/MobileDevice/Provisioning Profiles". It is a hidden folder, so use Finder => Go => Go to folder...
    3. Delete all provisioning profiles (move to trash).
    4. In XCode go to XCode => Preferences and select AppleID and team.
    5. Choose "Download Manual Profiles".

    The valid profiles are downloaded and the expired profiles are gone.

提交回复
热议问题