[Solved] App Store Connect Operation Error - Invalid Provisioning Profile signature. The provisioning profile included in the bundle - Xcode

Article Habibur Rhoman Joy

Problem:

After updating the Xcode to 13.3.1 you may get this error -

Distribution failed with errors: 
App Store Connect Operation Error Invalid Provisioning Profile signature. The provisioning profile included in the bundle 'com.magnifyyourvoice.magnify' (Payload/Magnify Your Voice.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 580a8b1f-3315-4f2b-a87d 


Solution :

Apple has updated its WWDR certificates. Some certificates expired in January and some in April 12, 2022 depending on what version of xCode you had. Two Apple certificates used to sign your provisioning profiles expired on april. for this reason you are getting ITMS-90165 error. To fix this problem you have to get a new provisioning profile. 

Please exit Xcode. Then run - 

rm -rf ~/Library/MobileDevice/Provisioning\ Profiles/

Then open Xcode and wait 2 second. Xcode can download profiles automatic. You don't need to do anything.


Note that you don't have an expired certificate before that. If there is an expired one, edit it and save it again. will give you a new date. To do this -

  1. Go to Certificates, Identifiers & Profiles
  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.

Now let xcode redownload the profiles again.


Thank you for reading the article. If you face any problem let us know.