I'm getting the following error when trying to upload to the App Store after updating to Xcode 14.2 on macOS Ventura (13.1).
Asset validation failed (90161).
Invalid Provisioning Profile. The provisioning profile included in the bundle my-app-identifier-here [Payload/Runner.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal. (ID: 078f5f94-0375-491f-9c00-8dfd7dc90bc4)
I've tried the following solutions and none of them have made any difference so far:
Solution #1
- Regenerate Provisioning Profiles by going to developer.apple.com → Certificates, Identifiers & Profiles → Profiles → click on the Profile → Edit → Save
- Delete ~/Library/MobileDevice/Provisioning Profiles
- Open Xcode → Settings → Accounts → select your Apple ID → select your Team → Download Manual Profiles
Solution #2
Go to Xcode → Settings → Accounts → select your Apple ID → select your Team → Manage Certificates → click on + on the left bottom, and click Apple Distribution, then click Download Manual Profiles.
Solution #3
- Revoke the existing Distribution Certificate at https://developer.apple.com/account/resources/certificates/list
- Generate a new Distribution Certificate, download it and install it.
Does anyone have a different one?