I am building the IPA (via fastlane with a distribution profile). The entitlements show
The problem was
gym (in my case) creating an IPA that was invalid. I ditched it and are now building through
xcodebuild without problems.
codesign -d --entitlements :- Payload/*.app need to have
beta-reports-active = 1 set.
That wasn't always the case with
gym. See the github issue explaining the details
gym also has trouble picking the right provisioning profile.