Error "Invalid Provisioning Profile Signature" while trying to distribute a Flutter app in iOS

Viewed 4119

I’m trying to send my build to the store, but when I'm trying to distribute the app with Xcode, I get this 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 73638f81-3103-4f98-a8f0-d0dd2a01edcc

How can I fix this?

8 Answers

I faced this issue this morning.

To fix it,

  • Just get Xcode to re-download the provision profiles by deleting everything here: ~/Library/MobileDevice/Provisioning Profiles
  • Open Xcode Preferences, navigate to Accounts, and click Download Manual Profiles

I revoked our distribution certificate on developer.apple.com and generated a new one. I was then able to upload to App Store Connect again.

Create a new distribution certificate through Xcode. I have just done this and it now works.

PreferencesAccountsChoose teamManage certificates+ Apple distributionArchive and upload.

I got this error on Xcode 13.2 (macOS v12.2.1 (Monterey)).

It's pretty easy to resolve:

  • Go to XcodePreferences...
  • On the new window, go to Accounts → select your Apple ID
  • Then, select your team, click *Manage Certificates...
  • Then, click on + on the left bottom, and click Apple Distribution
  • After that, click Download Manual Profiles

You can now Archive and it will work fine.

Solution:-

  1. Go to https://developer.apple.com/account/resources/profiles/list
  2. Open the provision profile
  3. Press Edit in the top right
  4. Press Save without making any changes This will regenerate the profile with the correct CAs.
  5. Now delete the ~/Library/MobileDevice/Provisioning Profiles folder and let xcode redownload the profiles again.

This is Work for me.

I resolved the same issue after following these steps:

  1. Recreate Distribution Certificate (Make sure it should be Apple Distribution).
  2. Regenerate Provisioning profile by selecting the new Certificate.
  3. Open Spotlight, search and delete all Provisioning profiles from ~/Library/MobileDevice/Provisioning Profiles
  4. Delete all previous Archives from /Users/YOUR_USER_NAME/Library/Developer/Xcode/Archives or you can go to the folder by clicking Xcode -> Preferences -> Location and got to the Archive location mentioned there.
  5. Delete Derived Data by following the same step mentioned above.
  6. Clean the Project (Cmd + Shift + k)
  7. Archive again, Select the correct Provisioning profile while uploading the build.

Hopefully, this will help.

You must be using an old provisional profile certificate. Just regenerate it again and you will be good to go.

Related