You will see this error if you are submitting an app with an ad-hoc provisioning profile instead of release profile. Please ensure that you’re not submitting an ad-hoc build.
Personally, I was exporting my .ipa as an ad-hoc preview and/or internal build file using expo, and then tried to submit that to TestFlight — but I should have been exporting a production build.
Post
Replies
Boosts
Views
Activity
After days of having a similar problem as yours, I did the following:
Follow this StackOverflow answer
Completely close all terminals & close XCode
Reopen XCode to successfully start compiling & archiving iOS builds 🚀