Can't upload to AppStore - Invalid Provisioning Signature

After updating the Xcode to 13.3.1, and after some time since my last release, I can't seem to upload my app to AppStore.

And I get the following error:

Invalid Provisioning Profile Signature. The provisioning profile included in the bundle 'MY BUNDLE HERE' (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

I'm not sure what I broke with the latest update, since it worked fine until now. I tried messing with Archive Scheme in Xcode, I tried adding new provisioning profiles (AppStore and AdHoc) on the developer.apple site, but it doesn't help.

My gut's telling me that the solution is obvious, but...

  • same here [Xcode Version 13.3.1 (13E500a)]

  • I'm also having the same issue today

  • Why it is happening, don't you know?

Replies

For me regenerate profile doesn't work, but i found solution:

Go to:

  1. https://developer.apple.com/account/resources/identifiers/list
  2. Select your Identifier
  3. Check and uncheck some capability - Access WiFi Information - for example
  4. Click Save
  • Your solution worked for me! Thanks so much

  • This didn't work for me

  • This worked for me as well, thank you

Just redownload and install provision. It works for me.

For People who are using automatic signing

  • Revoke the certifiactes from https://developer.apple.com/account/resources/certificates/list
  • Go to xcode -> preferences -> Accounts -> Manage Certificates and then create new certificates(development + Distribution).
  • Once done creating certificates, click on Download manual certificates (code -> preferences -> Accounts)
  • create a new archive and BOOM!!!!!
  • Helped me. Thanks!

  • Helped me too. Thank you!

Add a Comment

Scheduled maintenance: On April 13, starting at 10 a.m. PDT, catalog report requests will be delayed for up to one hour. Reports will be generated after maintenance is complete. Please request any critical reports before this time.

Log in to the developer.apple.com, Certificates, Identifiers & Profiles, select the corresponding profiles file, click edit , then save and download the new profiles file, and upload it again. It works for me

  1. Go to developer.apple.com
  2. Open the provisioning profile
  3. Press Edit in the top right
  4. Press Save without making any changes This will regenerate the profile with the correct CAs.
  • This worked for me. I am using Visual Studio Mac and all I had to do was reinstall the profiles from the preferences menu. Thank you for posting.

Add a Comment

As suggested by https://twitter.com/hunter/status/1513960632059510784 I just deleted my local provisioning profile files which forced Xcode to generate them again and this fixed the issue for me.

Clearing the cache manually fixes this issue for me, Open finder on your mac, and click on Go -> Go to Folder And paste this "~/Library/MobileDevice/Provisioning\ Profiles/" delete all items restart xcode and retry

https://twitter.com/JI/status/1514043544897425408

Hi everyone, I found this tweet for "ERROR ITMS-90165: "Invalid Provisioning Profile Signature." issue while submitting to app store. Please try to create new distribution provisioning profile & use it.

I do not understand why this happened :( Anyway, I opened the provisioning profile in developer.apple.com, saved without any changes, deleted profiles from ~/Library/MobileDevice/Provisioning\ Profiles and manually downloaded from Xcode again. Than it works. Thanks everyone for help.

Same as the few above answers: "Clearing the cache manually fixes this issue for me, Open finder on your mac, and click on Go -> Go to Folder And paste this "~/Library/MobileDevice/Provisioning\ Profiles/" delete all items restart xcode and retry"
Worked for me! Successfully uploaded new build

this should be the answer. it works for me too

You go to https://developer.apple.com/account/resources/profiles/list, choose your provision, then click edit (no need change anything), save and download it. Install this provision. It works for me

Here's how to fix that:

  1. Go to developer.apple.com

  2. Open the provision profile

  3. Press Edit in the top right

  4. Press Save without making any changes

  5. Now delete the ~/Library/MobileDevice/Provisioning Profiles folder and let xcode redownload the profiles again.

This worked for me. I got the solution from: https://twitter.com/vinayakpaul/status/1514164659133501441?s=21&t=9iUWlAumS3_s_yC8NFwHMQ

if you are using Fastlane

fastlane match nuk e distribution
fastlane match appstore

(nuk e without spacing, thanks apple for replacing by ****)

  • Also fas lane match with readonly to false did the trick. And then set it back to true

Add a Comment

Every year as an iOS dev you think you have provisioning profiles figured out, but every year there is always some expiration that isn't handled by the previous years newest "automatic" mode :)

Post not yet marked as solved Up vote reply of jcdc Down vote reply of jcdc