App Store Connect Operation Error: expired profile

Today, we got a problem when uploading app to appstore: App Store Connect Operation Error: expired profile, even though the profile is valid.

FYI - After refreshing the Provisioning Profiles (using the same signing certificates), I got an ITMS-90035 error when delivering with Transporter. After spending the past few hours trying to understand what's wrong and not finding anything, I just tried to upload the same build as this morning; It uploaded without issue.

Seemed to fix the issue by recreating the Apple Distribution Certificate.

Xcode > Preferences... > Accounts > Manage Certificates... > + > Apple Distribution.

I was having issues getting manual signing to work, so ultimately that didn't do it for me. I got it working unscientifically, but ultimately I think these things helped:

  • in Keychain Access I deleted all my expired certificates
  • like the person above me said: Xcode > Preferences... > Accounts > Manage Certificates... > + > Apple Distribution.
  • after having it set to manual signing and it not working I turned manual signing back on. It told me I didn't have a team selected (I did) so I selected "None" for team and then selected my team again
  • as always: delete derived data, clean build

Same here. Edited and saved provisioning profiles and re-associated them with certificates, and looks to be working again. Suspect there's something that changed on Apple's servers.

I just recreated the provisioning profiles (edit, rename, save, download) and then uploaded and it worked. Another thing, while I was having the problem before fixing it, I had a previous build in TestFlight which was built with the previous provisioning profiles, so I tried to release it. It failed and I got an email saying that the profiles are invalid. So it seems like a bot at Apple (either software or human) revoked something that was used to validate the profiles. One of the reports in this thread suggests that this was reverted.

Just clicking edit, next, and download worked, didn't need to do any modification to profile

We had the same issue yesterday, we could not upload a build of our new game to Testflight and were getting the provisioning error. We also had builds of 3 other games that had previously been uploaded to Testflight ok but when we went to push them into Apple review they would all fail with an "invalid binary" error.

Today we tried again and without doing any changes it seems to be working again. We were able to upload that new build and I re-submitted those previous invalid binaries and they now seem to have gone into Apple review again.

The issue is already fixed by apple.

This issue is already fixed by Apple.

App Store Connect Operation Error: expired profile
 
 
Q