How to Fix “Invalid Provisioning Profile Signature” Error?

Are you try to send build to App Store connect or uploading the archive to App Store connect, you may encounter the following error:

Invalid Provisioning Profile Signature. The provisioning profile included in the bundle ‘com.grafenit.velyvelo’ (Payload/Runner.app) cannot be used to submit apps to the iOS App Store until it has a valid signature from Apple. For more information, visit the iOS Developer Portal. With error code STATE_ERROR.VALIDATION_ERROR.90165 for id

Invalid Provisioning Profile Signature

A provisioning profile is a collection of digital entities that uniquely ties developers and devices to an authorized iPhone Development Team and enables a device to be used for testing.

Provisioning profile act as a link between the device and the developer account

Why “Invalid Provisioning Profile Signature” Error Occurred?

Two Apple certificates used to sign your provisioning has been expired. When you try to submit your app for review you’ll get error: Invalid Provisioning Profile Signature. The provisioning profile included in the bundle ‘com.grafenit.velyvelo’ (Payload/Runner.app) cannot be used to submit apps to the iOS App Store until it has a valid signature from Apple. For more information, visit the iOS Developer Portal. With error code STATE_ERROR.VALIDATION_ERROR.90165 for id

Apple has updated its WWDR certificates https://developer.apple.com/support/expiration/. Some certificates expire in January and some in April depending on what version of xCode you are using. That’s why you’d need to regenerate your provisioning profiles.

How to Fix “Invalid Provisioning Profile Signature” Error?

To fix Invalid Provisioning Profile Signature error, you have to get new provisioning profile. Some certificates expire in January and some in April depending on what version of xCode you are using. That’s why you’d need to regenerate your provisioning profiles. To do this,

  • first exit Xcode
  • Delete everything from below location:
~/Library/MobileDevice/Provisioning Profiles
  • Open Xcode Preferences
  • Go to Accounts
  • Select your Apple ID
  • After that Choose Team
  • Go to Manage Certificates
  • Click on Apple Distribution
  • Now Download Manual Files.

Now Archive this and upload to App Store connect. it will be successfully uploaded without getting any error.