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...

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 ****)

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 :)

You have to remake the provisioning profiles because Apple expired some certificates. You go to your Developer Account, edit your provision profile without any change, save it and use that new profile.

Check Pods Framework and bundle had signing,it's solves to me here!

I have the same problem :/, (Xcode13.2)

Just click edit provision then save and download it. Don't change any thing.

I had same issue, with Xcode Version 13.3.1 (13E500a), I just deleted the existing provision profile and certificate from the KeyChain, Go on Developer.Apple.Com, Selected the existing provision profile that I was using and click edit and just save did not make any changes and then download it on my machine. Then install both certificates and provision profile and it solve my problem.

I don't have any profile. XCode manages it automatically.

Working fine today without any change.

It's working fine today without any change. Seems it was any temporary problem at Apple side.

Can't upload to AppStore - Invalid Provisioning Signature
 
 
Q