Manage provisioning profiles

Edit, download, or delete provisioning profiles

You can edit, download, or delete a provisioning profile you created in your developer account. For example, edit a provisioning profile if you revoked a certificate or disabled a device contained in the profile. Or regenerate a provisioning profile if it is invalid because you enabled app services.

Note: Xcode-managed development provisioning profiles and distribution provisioning profiles don’t appear in your developer account.

Required role: Account Holder or Admin.

Edit a provisioning profile

  1. In Certificates, Identifiers & Profiles, click Profiles in the sidebar.

  2. Select the provisioning profile you want to modify.

  3. Make your changes to the provisioning profile, such as changing its name, choosing an App ID, adding certificates, or selecting a different set of devices.

    Tip: If you’re missing a certificate, click Cancel, create the signing certificate in Xcode (so that the private key is automatically installed in your keychain), then follow these steps again.

  4. Click Save.

In Xcode, download the provisioning profile.

Regenerate a provisioning profile

If you enable or disable app services or if a provisioning profile expires, you need to regenerate the provisioning profile.

  1. In Certificates, Identifiers & Profiles, click Profiles in the sidebar.

  2. Under Provisioning Profiles, select the invalid or expired provisioning profile, then click Edit.

  3. Click Generate.

In Xcode, remove the expired provisioning profile from all devices (visit “View, delete, and install provisioning profiles on devices” in Xcode Help), and resign your app using the regenerated profile.

Download a provisioning profile

  1. In Certificates, Identifiers & Profiles, click Profiles in the sidebar.

  2. Under Provisioning Profiles, select the provisioning profile you want to modify, then click Download.

  3. The provisioning profile (a file with a .mobileprovision or .provisionprofile filename extension) appears in your Downloads folder.

Alternatively, download the provisioning profile in Xcode.

Delete a provisioning profile

  1. In Certificates, Identifiers & Profiles, click Profiles in the sidebar.

  2. Under Provisioning Profiles, select the provisioning profile you want to modify, then click Remove.

  3. In the dialog that appears, click Remove.

To remove a provisioning profile from a device, visit “View, delete, and install provisioning profiles on devices” in Xcode Help.

Configuring Xcode to request new provisioning profiles for automatic signing

Automatic signing lets you quickly provision your apps for development and distribution using the latest entitlements, registered devices, and certificate configurations associated with your bundle ID. In unexpected situations, there may be a system issue or a configuration change that may require you to update your provisioning profile. By default, Xcode will only request a new provisioning profile when it can’t find one locally that satisfies the known requirements. If you need to prompt Xcode to request a new provisioning profile when using automatic signing, follow these steps:

  1. Visit the directory of cached provisioning profiles in Xcode at ~/Library/MobileDevice/Provisioning Profiles/.
  2. Optionally, back up these files by copying them to another directory.
  3. Remove any unwanted provisioning profiles.
  4. Perform another build to your device, app archive, or distribution request in Xcode. This will prompt Xcode to not detect any cached profiles eligible for your app, and automatically request a new provisioning profile.