The Ionic team has learned that some Cordova and Capacitor apps submitted to the Apple App store might fail due to an issue with signing certificates. Two of Apple’s certificates (distinct from the certificates you create) have recently expired. Since these are used to sign your provisioning profiles, when you try to submit your app for review, it will fail with an ITMS-90165 error that looks similar to the following:
ERROR ITMS-90165: "Invalid Provisioning Profile Signature. The provisioning profile included in the bundle 'com.xxxx.xxxx' 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."
You may also experience an error that represents the same issue when building your iOS apps:
Failed to update provisioning profiles: while: finding profiles for targetsundefined method '[]' for nil:NilClass
To fix the error you’ll need to obtain new provisioning profiles and certificates via one of two ways:
Appflow customers using the native builds feature can update the new provisioning profiles and certificates under Build -> Signing Certificates.