I uploaded a new build to AppStoreConnect. I was able to test it through TestFlight.
I sent the build to review, it was approved. Then when I tried to open the test app on my device and got the above error:
The status on TestFlight seems to be "Ready for Submit, expires in 86 days".
I tried to remove the app, and reinstall it from TestFlight. Then I got this:
Restarting the phone, or trying to install it from a different device leads to the same problem.
Why does that happen? Is it an Apple-side bug?
What is the workaround for this issue?
It seems to be a bug in TestFlight and/or iOS.
It happens when you upload a new version with automatic updates. Installing the app manually seems to be just fine.
Consider downgrading to a previous build and then manually updating it or uploading and installing a new build. Both options should solve this issue.
It started to happen in late October 2022, and it is still happening to our builds as of November 2022.